math# Axis

Represents a mathematical axis in 3D space.

Constructor

new Axis(parameters)

Creates a new Axis instance.

Parameters:
NameTypeDescription
parametersObject

The parameters for the axis.

Properties
NameTypeDescription
originVector

The origin of the axis.

directionVector

The direction of the axis.

Members

OX :Axis

The X-axis, with origin at Vector.ZERO and direction Vector.X.

Type:

OY :Axis

The Y-axis, with origin at Vector.ZERO and direction Vector.Y.

Type:

OZ :Axis

The Z-axis, with origin at Vector.ZERO and direction Vector.Z.

Type:

direction

Retrieves the direction of the axis.

direction

Sets the direction of the axis.

origin

Retrieves the origin of the axis.

origin

Sets the origin of the axis.