Class SoInterpolateVec3f

  • All Implemented Interfaces:
    SafeDisposable

    public class SoInterpolateVec3f
    extends SoInterpolate
    Interpolates 3D floating-point vectors. This engine linearly interpolates between two 3D 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:

    InterpolateVec3f {

      alpha 0
      input0 0 0 0
      input1 0 0 0
    }

    See Also:
    SoEngineOutput, SoInterpolateFloat, SoInterpolateRotation, SoInterpolateVec2f, SoInterpolateVec4f
    • Field Detail

      • input0

        public final SoMFVec3f input0
        The engine linearly interpolates from input0 to input1.
      • input1

        public final SoMFVec3f input1
        The engine linearly interpolates from input0 to input1.
    • Constructor Detail

      • SoInterpolateVec3f

        public SoInterpolateVec3f()
        Constructor.