Titania X3D Editor

It starts with you!

Titania v3.0.4

It starts with you!

X3D Reference

EaseInEaseOut

EaseInEaseOut

EaseInEaseOut enables gradual animation transitions by modifying TimeSensor fraction outputs. Output values are modified fractions that can be ROUTEd to an interpolator, a sequencer, or another SFFloat attribute.

The EaseInEaseOut node belongs to the Interpolation component and its container field is children. It is available since X3D version 3.2 or later.

Hierarchy

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

SFFloat [in] set_fraction (-∞,∞)

Set_fraction selects input fraction for computation of corresponding easeInEaseOut output value, modifiedFraction_changed.

MFFloat [in, out] key [ ] (-∞,∞)

Definition parameters for linear-interpolation function time intervals, in increasing order and corresponding to easeInEaseOut array.

Hint

Number of keys must be one more than the number of easeInEaseOut values!

MFVec2f [in, out] easeInEaseOut [ ] (-∞,∞)

Array of paired values for easeOut fraction and easeIn fraction within each key interval.

Hint

Number of easeInEaseOut values must be one less than the number of keys.

SFFloat [out] modifiedFraction_changed

Interpolated output value determined by current key time, corresponding easeInEaseOut smoothing intervals, and corresponding key pair.

Description

Hints

  • Typical input connection is ROUTE someTimeSensorDEF.fraction_changed TO thisEaseInEaseOutDEF.set_fraction
  • Typical output connection is ROUTE thisEaseInEaseOutDEF.modifiedFraction_changed TO someDestinationNodeDEF.set_fraction.
  • Include <component name='Interpolation' level='3'/>

Browser Compatibility

Titania X_ITE
yes yes

External Links