| Parameter | Description |
|---|---|
| x | The quaternion x component. |
| y | The quaternion y component. |
| z | The quaternion z component. |
| w | The quaternion w component. |
Constructs a quaternion from four float values.
| Parameter | Description |
|---|---|
| value | The quaternion xyzw component values. |
Constructs a quaternion from float4 vector.
| Parameter | Description |
|---|---|
| m | The float3x3 orthonormal rotation matrix. |
Constructs a unit quaternion from a float3x3 rotation matrix. The matrix must be orthonormal.
| Parameter | Description |
|---|---|
| m | The float4x4 orthonormal rotation matrix. |
Constructs a unit quaternion from an orthonormal float4x4 matrix.