Math.QuatRotate¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
Takes a float3 vector representing the 3D vector to be rotated. | Float3 |
||
Output ➡️ |
Outputs a float3 vector representing the rotated 3D vector. | Float3 |
||
Operand |
No | The float4 vector representing the quaternion to rotate the input 3D vector by. | none |
Float4 Var(Float4) |
This shard rotates the input 3D vector (represented as a float3) by the quaternion (represented as a float4) specified in the Operand parameter and outputs the resulting rotated 3D vector. A float4 vector is a vector with 4 float elements while a float3 vector is a vector with 3 float elements.