Documentation

Unity Engine

Download Unity

Unity Engine

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

public static quaternion4 NormalizeSafe(this quaternion4 q)

Parameters

The quaternion4 to normalize.

Returns

Type

Description

quaternion4A quaternion4 in which each quaternion has a length of 1, or is the identity.