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.
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'/>