Titania X3D Editor

Bring Colours to Your Life.

Titania v4.3.6

Bring Colours to Your Life.

X3D Reference

OrientationInterpolator

OrientationInterpolator

OrientationInterpolator generates a series of rotation values. Results can be ROUTEd to a <Transform> node's 'rotation' attribute or another Rotations attribute

The OrientationInterpolator node belongs to the Interpolation component and its container field is children. It is available since X3D version 3.0 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 key for corresponding keyValue output.

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

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

Warning

Number of keys must match number of keyValues!

MFRotation [in, out] keyValue [ ] [-1,1] or (-∞,∞)

Output values for linear interpolation, each corresponding to time-fraction keys.

Warning

Number of keys must match number of keyValues!

SFRotation [out] value_changed

Linearly interpolated output value determined by current key time and corresponding keyValue pair.

Description

Hints

  • Typical input connection is ROUTE someTimeSensorDEF.fraction_changed TO thisInterpolatorDEF.set_fraction
  • Typical output connection is ROUTE thisInterpolatorDEF.value_changed TO someDestinationNodeDEF.set_someAttribute.

Example

OrientationInterpolator

XML Encoding

Classic Encoding

JSON Encoding

Browser Compatibility

Titania X_ITE
yes yes

External Links

Cookies and other Technologies

By clicking »Accept« or continuing to use the site, you agree to the use of CREATE3000 and third-party cookies and other similar technologies to enhance your browsing experience, analyze and measure your engagement with our content, and provide more relevant ads on CREATE3000 websites and others. Learn more about cookies. You can withdraw your consent at any time.