For general information on vectors, see Vector and Vectors and Matrices.
A Vector4 is a vector that contains 4 numbers.
Methods
Method | Brief description |
---|
Fields
Operators
Operator | Brief description |
---|
Methods
Fields
Vector4 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.
z, b, 3
Read/write number. The third component of the vector.
w, a, 4
Read/write number. The fourth component of the vector.