Vector3
Built-in Vector3 library.
Properties:
x
float
X member of the Vector
y
float
Y member of the Vector
z
float
Z member of the Vector
Static Functions:
Vector3
Vector3(x: float, y: float, z: float)
: Vector3
x
float
X member of the Vector
y
float
Y member of the Vector
z
float
Z member of the Vector
Creates a new Vector3 object.
Functions:
.Add
Vector3_Object.Add(other: Vector3)
other
Vector3
Other Vector
Adds a Vector3 to this Vector3 object.
.Subtract
Vector3_Object.Subtract(other: Vector3)
other
Vector3
Other Vector
Subtracts this Vector3 object with the specified Vector3.
.Multiply
Vector3_Object.Multiply(value: float)
value
float
Multiply value
Multiplies this Vector3 object by the specified value.
.Divide
Vector3_Object.Divide(value: float)
value
float
Divide value
Divides this Vector3 object by the specified value.
.Equals
Vector3_Object.Equals(other: Vector3)
other
Vector3
Other Vector
Compares two Vector3 objects for equality.
.Length
Vector3_Object.Length()
: float
Gets the length of this Vector3 object.
.Normalize
Vector3_Object.Normalize()
Normalizes this Vector3 object.
.DistTo
Vector3_Object.DistTo(other: Vector3)
: float
other
Vector3
Other Vector
Gets the length between the two Vector3 objects.
Last updated
Was this helpful?