For general information on vectors, see Vector and Vectors and Matrices.
A Vector3 is a vector that contains 3 numbers.
Methods
Fields
Operators
Operator | Brief description |
---|
Methods
Vector3 methods
augmented
Converts this Vector3 into a Vector4 using the provided number as the fourth component.
cross
Calculates the Cross product between two Vector3s and stores the result in this vector.
crossed
Calculates the Cross product between two Vector3s and creates a new Vector3 to store the result.
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.