Rediger

Del via


Vector4.LengthSquared Method

Definition

Returns the length of the vector squared.

public:
 float LengthSquared();
public float LengthSquared ();
public readonly float LengthSquared ();
member this.LengthSquared : unit -> single
Public Function LengthSquared () As Single

Returns

The vector's length squared.

Remarks

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

Applies to

See also