|
The Position2Interpolator node interpolates among a list of SFVec2f values using a specified interpolation method. This node extends the ParallelGraphics extension node Position2Interpolator.
EXTERNPROTO Position2InterpolatorEx [
eventIn SFFloat set_fraction
exposedField MFFloat key []
exposedField MFVec2f keyValue []
exposedField MFFloat params [0, 0, 0]
exposedField SFString type "LINEAR"
eventOut SFColor value_changed
]
[
"urn:inet:parallelgraphics.com:cortona:Position2InterpolatorEx"
"http://www.parallelgraphics.com/vrml/proto/Cortona/extensions.wrl
#Position2InterpolatorEx"
]
The type field defines the interpolation method. The possible values of this field are "CONSTANT", "LINEAR", "COSINE", "CUBIC" and "HERMITE". In the case of the Hermite interpolation, the params field specifies three interpolation parameters: Tension, Continuity and Bias.
Definitions of the other fields and events of the Position2InterpolatorEx node are similar to the corresponding definitions for the ParallelGraphics extension node Position2Interpolator.
|