| 1 |
NAME SoComposeVec4f SoCmpsV4f "" { |
| 2 |
composes 4D vectors from floating-point values |
| 3 |
} |
| 4 |
|
| 5 |
DESC { |
| 6 |
This engine takes four floating-point inputs and composes a |
| 7 |
4D vector. |
| 8 |
\p |
| 9 |
The input fields can have multiple values, allowing the engine to |
| 10 |
compose several vectors in parallel. |
| 11 |
Some inputs may have more values than others. In such cases, |
| 12 |
the last value of the shorter inputs will be repeated as necessary. |
| 13 |
} |
| 14 |
|
| 15 |
INCLUDE engines/SoCompose.h |
| 16 |
|
| 17 |
INPUT x { The x component. } |
| 18 |
INPUT y { The y component. } |
| 19 |
INPUT z { The z component. } |
| 20 |
INPUT w { The w component. } |
| 21 |
|
| 22 |
OUTPUT vector { Vector composed of x, y, z, and w. } |
| 23 |
|
| 24 |
METHOD Create SoComposeVec4f() { Constructor } |
| 25 |
|
| 26 |
ALSO { SoDecomposeVec4f, SoEngineOutput } |