Edit

Share via


Vector3.LengthSquared Method

Definition

Returns the length of the vector squared.

C#
public float LengthSquared();
C#
public readonly float LengthSquared();

Returns

The vector's length squared.

Remarks

This operation offers better performance than a call to the Length method.

Applies to

See also