Values that the vector contains.
Returns x value of the vector.
Set the value
as new x.
Returns xy values of the vector as Float32Vector2
.
Returns y value of the vector.
Set the value
as new y.
Returns z value of the vector.
Set the value
as new z.
Add other
to the vector and returns new Float32Vector3
.
This method does not mutate the vector.
Calculate cross product.
Calculate dot product.
Multiply the vector by scalar
and returns new Float32Vector3
.
This method does not mutate the vector.
Normalize the vector and returns new Float32Vector3
.
This method does not mutate the vector.
Subtract other
from the vector and returns new Float32Vector3
.
This method does not mutate the vector.
Generated using TypeDoc
A 3-dimensional vector of single-precision float numbers.