Class SoInterpolateVec3f
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.misc.SoBase
com.openinventor.inventor.fields.SoFieldContainer
com.openinventor.inventor.engines.SoEngine
com.openinventor.inventor.engines.SoInterpolate
com.openinventor.inventor.engines.SoInterpolateVec3f
- All Implemented Interfaces:
SafeDisposable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SoMFVec3f
The engine linearly interpolates from input0 to input1.final SoMFVec3f
The engine linearly interpolates from input0 to input1.Fields inherited from class com.openinventor.inventor.engines.SoInterpolate
alpha, output
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.openinventor.inventor.engines.SoEngine
copy, getByName, getOutput, getOutputName
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Field Details
-
input0
The engine linearly interpolates from input0 to input1. -
input1
The engine linearly interpolates from input0 to input1.
-
-
Constructor Details
-
SoInterpolateVec3f
public SoInterpolateVec3f()Constructor.
-