PositionInterpolator2D node


This interpolator is used to interpolate 2D coordinates (pair of float values).

Note:
Do not mistake with CoordinateInterpolator2D which has its value_changed field typed MFVec2f.
See Interpolators for a detailed explanation on how interpolators work and when to use them.


SFFloat set_fraction 0:
Change this set_fraction field (between 0 to 1) to make the interpolator compute a new value.
Value usually routed from the TimeSensor.fraction_changed field. See Interpolators.

SFVec2f value_changed 0 0:
When a new coordinate is computed form the PositionInterpolator2D, it is sent to the value_changed field.

MFFloat key []:
List of float values between 0 and 1. See Interpolators.

MFVec2f keyValue []:
Contains a coordinate (pair of float values) for each value of the key list.