NormalizeSafe(quaternion4)
Returns the normalized quaternion4, or the identity for the lanes whose squared length isn't greater than FLT_MIN_NORMAL.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public static quaternion4 NormalizeSafe(this quaternion4 q)
Parameters
The quaternion4 to normalize.
Returns
Type | Description |
|---|---|
| quaternion4 | A quaternion4 in which each quaternion has a length of 1, or is the identity. |