SquadOrientationInterpolator
The SquadOrientationInterpolator node non-linearly interpolates among a list of rotations to produce an SFRotation value_changed event. The keyValue field shall have the same number of values and the key field.
Inheritance
Code
XML encoding
<SquadOrientationInterpolator enabled='TRUE' logFeature='' key='' normalizeVelocity='FALSE' keyValue='' />
Classic encoding
SquadOrientationInterpolator { enabled TRUE logFeature [""] key [] normalizeVelocity FALSE keyValue [] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
enabled | SFBool | inputOutput | TRUE | Flag to enable/disable the node behaviour | ||
key | MFFloat | inputOutput | Definition parameters for linear-interpolation function time intervals, in increasing order and corresponding to keyValues. Hint: number of keys must match number of keyValues! | |||
keyValue | MFRotation | inputOutput | keyValue field contains values for the target field, one complete set of values for each key | |||
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
normalizeVelocity | SFBool | inputOutput | FALSE | If the normalizeVelocity field has value TRUE, the keyVelocity values are normalized, thus converting them to tangency vectors. In this case, the vectors are normalized to produce smooth speed transitions. | ||
set_fraction | SFFloat | inputOnly | set_fraction selects input key for corresponding keyValue output. | |||
value_changed | SFRotation | outputOnly | interpolation results for the given set_fraction value |