Click or drag to resize

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
C#
public float LengthSquared { get; }

Property Value

Type: Single
Equivalent to `Dot(this)`.
See Also