| 1 |
NAME SoDecomposeVec4f SoDecmpsV4f "" { |
| 2 |
decomposes 4D vectors into floating-point values |
| 3 |
} |
| 4 |
|
| 5 |
DESC { |
| 6 |
This engine takes as input a 4D vector, |
| 7 |
and decomposes it into four single floating-point values. |
| 8 |
\p |
| 9 |
The input can have multiple values, allowing the engine to decompose |
| 10 |
several vectors in parallel. |
| 11 |
} |
| 12 |
|
| 13 |
INCLUDE engines/SoCompose.h |
| 14 |
|
| 15 |
INPUT vector { Vector to be decomposed. } |
| 16 |
|
| 17 |
OUTPUT x { First component of the vector. } |
| 18 |
OUTPUT y { Second component of the vector. } |
| 19 |
OUTPUT z { Third component of the vector. } |
| 20 |
OUTPUT w { Fourth component of the vector. } |
| 21 |
|
| 22 |
METHOD Create SoDecomposeVec4f() { Constructor } |
| 23 |
|
| 24 |
ALSO { SoComposeVec4f, SoEngineOutput } |