Skip to content
rech edited this page Jun 15, 2026 · 1 revision

Description

A vector of 3 components.

Remarks

_

Properties


Name Type Description
x number The x component
y number The y component
z number The z component

Remarks

_

Methods


mirrorX(axis = 0)

Description

Mirror the x component around axis

Parameters

Name Type Description
axis number The axis to mirror around

Return types

XYZ

Remarks

_


mirrorY(axis = 0)

Description

Mirror the y component around axis

Parameters

Name Type Description
axis number The axis to mirror around

Return types

XYZ

Remarks

_


mirrorZ(axis = 0)

Description

Mirror the z component around axis

Parameters

Name Type Description
axis number The axis to mirror around

Return types

XYZ

Remarks

_

Operators


Operator Return type Description
+ XYZ Add two vectors, or a vector with a number, or a number with a vector together
- XYZ Subtract two vectors, or a vector with a number, or a number with a vector together
* XYZ Multiply a vector with a number, or a number with a vector together
/ XYZ Divide a vector with a number

Clone this wiki locally