Click or drag to resize

Vector2 Properties

The Vector2 type exposes the following members.

Properties
  NameDescription
Public propertyIsEmpty
Gets whether this Vector2 is empty.
Public propertyLength
Gets the length of this Vector2.
Public propertyStatic memberOne
Returns a Vector2 with each component set to 1.
Public propertySquaredLength
Gets the squared length of this Vector2.
Public propertyStatic memberUnitX
Returns a Vector2 with components 1, 0.
Public propertyStatic memberUnitY
Returns a Vector2 with components 0, 1.
Public propertyX
Gets the X component of this Vector2.
Public propertyY
Gets the Y component of this Vector2.
Public propertyStatic memberZero
Returns an empty Vector2.
Top
See Also