Create a new Vector3
instance.
The X coordinate.
The Y coordinate.
The Z coordinate.
Protected
xThe X coordinate.
Protected
yThe Y coordinate.
Protected
zThe Z coordinate.
Compare an instance of Vector3
with another.
The Vector3
to compare to.
true
if they're equal otherwise false
.
Returns a new Vector3 with each component rounded down to the nearest integer.
A new Vector3 with rounded down components.
Get the x coordinate.
The x coordinate's value.
Get the y coordinate.
The y coordinate's value.
Get the z coordinate.
The z coordinate's value.
Returns a new Vector3 with each component truncated to the nearest integer.
A new Vector3 with truncated axis.
Static
fromCreates a new Vector3 instance from an object with x, y, and z properties.
The object containing x, y, and z properties.
A new Vector3 instance.
3D Vector.