Creates an instance of Vector3 with given coordinates.
The x coordinate
The y coordinate
The z coordinate
Calculates the distance between this vector another one given as parameter.
Dot product
The vector to calculate the dot product with
The result of the dot product
Returns the length of the current vector.
Returns a new vector with the coordinates multiplied by the parameter s.
Returns the normalised vector.
Returns a new Vector were only the X-axis is 1 and the rest is 0.
Returns a new Vector were only the Y-axis is 1 and the rest is 0.
Returns a new Vector were only the Z-axis is 1 and the rest is 0.
Returns a new instance with all components set to zero.
Generated using TypeDoc
This class represents a threedimensional real Vector