Difference between revisions of "CoordinateInterpolator2D"
From Web3D.org
Abergstrom (Talk | contribs) |
Abergstrom (Talk | contribs) |
||
Line 3: | Line 3: | ||
<pre> | <pre> | ||
− | + | CoordinateInterpolator2D : X3DInterpolatorNode { | |
− | + | SFFloat [in] set_fraction () | |
− | + | MFFloat [in,out] key [] () | |
− | + | MFVec2f [in,out] keyValue [] () | |
− | SFNode | + | SFNode [in,out] metadata NULL [X3DMetadataObject] |
− | + | MFVec2f [out] value_changed | |
− | + | ||
− | + | ||
} | } | ||
</pre> | </pre> | ||
− | |||
− | + | This node linearly interpolates among a list of MFVec2f values to produce an MFVec2f value_changed event. The number of coordinates in the ''keyValue'' field shall be an integer multiple of the number of key frames in the ''key'' field. That integer multiple defines how many coordinates will be contained in the value_changed events. | |
− | The '' | + | |
− | + | ||
− | + | ||
− | + | ||
* [[Node Reference]] | * [[Node Reference]] |
Latest revision as of 23:15, 1 February 2006
CoordinateInterpolator2D
CoordinateInterpolator2D : X3DInterpolatorNode { SFFloat [in] set_fraction () MFFloat [in,out] key [] () MFVec2f [in,out] keyValue [] () SFNode [in,out] metadata NULL [X3DMetadataObject] MFVec2f [out] value_changed }
This node linearly interpolates among a list of MFVec2f values to produce an MFVec2f value_changed event. The number of coordinates in the keyValue field shall be an integer multiple of the number of key frames in the key field. That integer multiple defines how many coordinates will be contained in the value_changed events.