For general information on vectors, see Vector and Vectors and Matrices.
A Vector2 is a vector that contains 2 numbers.
Methods
Fields
Operators
Operator | Brief description |
---|
Methods
Vector2 methods
augmented
Converts this Vector2 into a Vector3 using the provided number as the third component.
Fields
Vector2 fields
x, r, 1
Read/write number. The first component of the vector.
y, g, 2
Read/write number. The second component of the vector.