Titania X3D Editor

Bring Colours to Your Life.

Titania v4.3.5

Bring Colours to Your Life.

X3D Reference

SquadOrientationInterpolator

SquadOrientationInterpolator

SquadOrientationInterpolator performs non-linear interpolation among paired lists of rotation values to produce an SFRotation value_changed output event.

The SquadOrientationInterpolator 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 key for corresponding use of keyValue, keyVelocity values for output computation.

SFBool [in, out] closed FALSE

Input/Output field closed.

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

Definition parameters for nonlinear-interpolation function time intervals, in increasing order and corresponding to keyValue, keyVelocity array values.

Warning

Number of keys must match number of keyValues!

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

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

Warning

Number of keys must match number of keyValues!

SFRotation [out] value_changed

Nonlinearly interpolated output value computed by using current time fraction along with corresponding key, keyValue and keyVelocity values.

Description

Hints

  • Squad is an acronym for Spherical Cubic Interpolation.
  • Typical input connection is ROUTE someTimeSensorDEF.fraction_changed TO thisInterpolatorDEF.set_fraction
  • Typical output connection is ROUTE thisInterpolatorDEF.value_changed TO someDestinationNodeDEF.set_someAttribute.
  • Include <component name='Interpolation' level='5'/>

Example

SquadOrientationInterpolator

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.