QuatLengthSquared Property |
Returns the squared length (squared magnitude) of the quaternion.
This method runs faster than
Length, so prefer it if
you need to compare quaternions or need the squared length for some formula.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public float LengthSquared { get; }
Property Value
Type:
SingleEquivalent to `Dot(this)`.
See Also