Open Inventor Reference
SoInterpolateVec2f Class Reference

Interpolates 2D floating-point vectors. More...

#include <Inventor/engines/SoInterpolate.h>

Inheritance diagram for SoInterpolateVec2f:
SoInterpolate SoEngine SoFieldContainer SoBase

List of all members.

Public Attributes

Inputs
SoMFVec2f input0
 The engine linearly interpolates from input0 to input1 .
SoMFVec2f input1
 The engine linearly interpolates from input0 to input1 .

Detailed Description

This engine linearly interpolates between two 2D vectors, based on the alpha input value. The alpha value should be between 0.0 and 1.0.

The input fields can have multiple vectors, allowing the engine to interpolate several objects in parallel. One of the inputs may have more values than the other. In that case, the last value of the shorter input will be repeated as necessary.

File Format/Default
InterpolateVec2f {
  alpha 0
  input0 0 0
  input1 0 0
}
See Also
SoEngineOutput, SoInterpolateFloat, SoInterpolateRotation, SoInterpolateVec3f, SoInterpolateVec4f

Definition at line 355 of file SoInterpolate.h.


Member Data Documentation


The documentation for this class was generated from the following file: