Vector3LengthSquared Method |
Returns the squared length (squared magnitude) of this vector.
This method runs faster than
Length, so prefer it if
you need to compare vectors or need the squared length for some formula.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public float LengthSquared()
Return Value
Type:
SingleThe squared length of this vector.
See Also