Documentation / Node reference / code nodes
code/QuaternionNormalize
Outputs a quaternion scaled to length 1.
Quaternion
Outputs q scaled to length 1, so it is a pure rotation. A q of length 0 gives no rotation.
Parameters
| Name | Type | What it does |
|---|---|---|
| q | Vector4 | Quaternion to scale. |
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.