CoordinateMorpher
The CoordinateMorpher node linearly interpolates among a set of MFVec3f values. It many used for morping coordinate sets (e.g. for facial animation) The number of coordinates in the keyValue shall be an integer multiple of the number of keyframes set in the "set_weights" slots. The integer multiple defines how many coordinates will be contained in the value_changed eventout slot.
Inheritance
Code
XML encoding
<CoordinateMorpher keyValue='' enabled='TRUE' logFeature='' />
Classic encoding
CoordinateMorpher { keyValue [] enabled TRUE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
keyValue | MFVec3f | inputOutput | holds all coordinate sets (e.g. single face sets) which should be morphed | |||
value_changed | MFVec3f | outputOnly | sends a new set of coordinates for the given "set_weights" state | |||
set_weights | MFFloat | inputOnly | triggers the node to linear combine all keyValue with the given weights | |||
enabled | SFBool | inputOutput | TRUE | Flag to enable/disable the node behaviour | ||
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 |