3ī¸âŖVector3
Built-in Vector3 library.
Last updated
Built-in Vector3 library.
Last updated
Name | Type | Description |
---|---|---|
Vector3(x: float, y: float, z: float)
: Vector3
Argument | Type | Description |
---|---|---|
Creates a new Vector3 object.
Vector3_Object.Add(other: Vector3)
Argument | Type | Description |
---|---|---|
Adds a Vector3 to this Vector3 object.
Vector3_Object.Subtract(other: Vector3)
Subtracts this Vector3 object with the specified Vector3.
Vector3_Object.Multiply(value: float)
Multiplies this Vector3 object by the specified value.
Vector3_Object.Divide(value: float)
Divides this Vector3 object by the specified value.
Vector3_Object.Equals(other: Vector3)
Compares two Vector3 objects for equality.
Vector3_Object.Length()
: float
Gets the length of this Vector3 object.
Vector3_Object.Normalize()
Normalizes this Vector3 object.
Vector3_Object.DistTo(other: Vector3)
: float
Gets the length between the two Vector3 objects.
Argument | Type | Description |
---|---|---|
Argument | Type | Description |
---|---|---|
Argument | Type | Description |
---|---|---|
Argument | Type | Description |
---|---|---|
Argument | Type | Description |
---|---|---|
x
float
X member of the Vector
y
float
Y member of the Vector
z
float
Z member of the Vector
x
float
X member of the Vector
y
float
Y member of the Vector
z
float
Z member of the Vector
other
Vector3
Other Vector
other
Vector3
Other Vector
value
float
Multiply value
value
float
Divide value
other
Vector3
Other Vector
other
Vector3
Other Vector