Cinemachine
UnityQuaternionExtensionsNormalized Method |
Normalize a quaternion
Namespace: Cinemachine.Utility
Assembly: Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public static Quaternion Normalized( this Quaternion q )
Cinemachine.Utility.UnityQuaternionExtensions.Normalized = function(q);
Parameters
- q
- Type: Quaternion
[Missing <param name="q"/> documentation for "M:Cinemachine.Utility.UnityQuaternionExtensions.Normalized(UnityEngine.Quaternion)"]
Return Value
Type: QuaternionThe normalized quaternion. Unit length is 1.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Quaternion. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also