Click or drag to resize

Vector2D Properties

The Vector2D type exposes the following members.

Properties
  NameDescription
Public propertyItem
Access the X, Y components of the vector using [0], [1] respectively.
Public propertyLength
Returns the length of the current vector.
Public propertyLengthSquared
Returns the squared length of the current vector.
Public propertyMagnitude
Returns the length of the current vector.
Public propertyMagnitudeSquared
Returns the squared length of the current vector.
Public propertyNormalized
Returns the current vector with a length of 1.
Top
See Also