Math.EulerToQuat¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
Takes a float3 vector representing Euler angles in radians (x=yaw, y=pitch, z=roll). | Float3 |
||
Output ➡️ |
Outputs a float4 vector representing the rotation quaternion. | Float4 |
This shard converts Euler angles (yaw, pitch, roll) to a quaternion. Takes a float3 vector where x=yaw, y=pitch, z=roll (in radians) and outputs a float4 quaternion. Uses ZYX rotation order (yaw-pitch-roll).