The initial x coordinate of the Vector2
The initial y coordinate of the Vector2
Static ReadonlyDOWNStatic ReadonlyLEFTStatic ReadonlyONEStatic ReadonlyRIGHTStatic ReadonlyUPStatic ReadonlyX_Static ReadonlyY_Static ReadonlyZEROAdds the components of a given Vector2 to this Vector2
The Vector2 to add to this Vector2
Calculates the angle between this Vector2 and another Vector2
The Vector2 to calculate the angle between
The angle between the two Vector2 objects
Calculates the signed angle between this Vector2 and another Vector2
The Vector2 to calculate the angle between
The signed angle between the two Vector2 objects
Clones the Vector2 object
A new Vector2 object with the same coordinates as the original
Copies the coordinates of a Vector2 object
The Vector2 object to copy
Calculates the distance between this Vector2 and another Vector2
The Vector2 to calculate the distance to
The distance between the two Vector2 objects
Divides the components of this Vector2 by a given Vector2
The Vector2 to divide this Vector2 by
Divides the Vector2 by a scalar value
The scalar value to divide by
Calculates the dot product of this Vector2 and another Vector2
The Vector2 to calculate the dot product with
The dot product of the two Vector2 objects
Checks if two Vector2 objects have the same coordinates
The Vector2 object to compare
true if the coordinates of both Vector2 objects are the same, false otherwise
Inverts this Vector2
Calculates the length of this Vector2
The length of this Vector2
Multiplies the components of a given Vector2 by this Vector2
The Vector2 to multiply this Vector2 by
Multiplies the Vector2 by a scalar value
The scalar value to multiply by
Normalizes this Vector2
Rotates this Vector2 by a given angle
The angle to rotate by in radians
Sets the coordinates of the Vector2
The new x coordinate of the Vector2
The new y coordinate of the Vector2
Sets the position of this Vector2 from a Matrix3
The Matrix3 to get the position from
Sets the scale of this Vector2 from a Matrix3
The Matrix3 to get the scale from
Subtracts the components of a given Vector2 from this Vector2
The Vector2 to subtract from this Vector2
Transforms this Vector2 object with a Matrix3
The Matrix3 to transform this Vector2 with
Transforms this Vector2 object with a Matrix3, ignoring the translation component
The Matrix3 to transform this Vector2 with
StaticaddStaticangleStaticangleStaticcloneStaticdistanceStaticdivideStaticdivideStaticdotStaticinverseStaticlerpStaticmultiplyStaticmultiplyStaticnormalizeStaticrotateStaticsubtractStatictransformStatictransform
Constructor for Vector2 class