| 1 |
NAME SoInterpolateFloat SoInterpFlt "" { |
| 2 |
interpolates floating-point values |
| 3 |
} |
| 4 |
|
| 5 |
DESC { |
| 6 |
This engine linearly interpolates between two floating-point values, based |
| 7 |
on the \valpha\. input value. The \valpha\. value should be between |
| 8 |
0.0 and 1.0. |
| 9 |
\p |
| 10 |
The input fields can have multiple values, allowing the engine to interpolate |
| 11 |
several objects in parallel. |
| 12 |
One of the inputs may have more values than the other. In that case, |
| 13 |
the last value of the shorter input will be repeated as necessary. |
| 14 |
} |
| 15 |
|
| 16 |
INCLUDE engines/SoInterpolate.h |
| 17 |
|
| 18 |
INPUT input0 { } |
| 19 |
INPUT input1 { The engine linearly interpolates from |
| 20 |
\vinput0\. to \vinput1\.. } |
| 21 |
|
| 22 |
METHOD Create SoInterpolateFloat() { Constructor. } |
| 23 |
|
| 24 |
ALSO { SoEngineOutput, SoInterpolateRotation, |
| 25 |
SoInterpolateVec2f, SoInterpolateVec3f, SoInterpolateVec4f } |