Click or drag to resize

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
C#
public float LengthSquared()

Return Value

Type: Single
The squared length of this vector.
See Also