Vector2.LengthSquared Property
Definition
Important
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.
Gets the square of the vector length (magnitude).
public float LengthSquared { get; }
member this.LengthSquared : single
Property Value
Remarks
This property avoids the costly square root operation required by the Length property. This makes it more suitable for comparisons. Length