Vector4::LengthSquared Method

Returns the length of the vector squared.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
float LengthSquared()

Return Value

Type: System::Single
The vector's length squared.

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

Show: