Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the length of the vector squared.
public: float LengthSquared();
public float LengthSquared ();
member this.LengthSquared : unit -> single
Public Function LengthSquared () As Single
The vector's length squared.
This operation offers better performance than a call to the Length method.