CoordinateInterpolator2D
CoordinateInterpolator2D generates a series of SFVec2f or MFVec2f 2-tuple float values that can be ROUTEd to a SFVec2f or MFVec2f attribute.
The CoordinateInterpolator2D node belongs to the Interpolation component and its container field is children. It is available since X3D version 3.0 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 keyValue output.
MFFloat [in, out] key [ ] (-∞,∞)
Definition parameters for linear-interpolation function time intervals, in increasing order and corresponding to keyValues.
Hints
Number of keyValues must be an integer multiple of the number of keys! KeyValue/key integer multiple defines how many coordinates are sent in value_changed outputOnlys.
MFVec2f [in, out] keyValue [ ] (-∞,∞)
Output values for linear interpolation, each corresponding to time-fraction keys.
Hints
Number of keyValues must be an integer multiple of the number of keys! KeyValue/key integer multiple defines how many coordinates are sent in value_changed outputOnlys.
MFVec2f [out] value_changed
Linearly interpolated output value determined by current key time and corresponding keyValue pair.
Hint
KeyValue/key integer multiple defines how many coordinates are sent in value_changed outputOnlys.