Axes

Axes have all the basic properties described in Object Instructions.

Single Axis Access

Individual axes can be accessed and manipulated via the following properties:

  • x_axis: Access the x-axis of the axes object.

  • y_axis: Access the y-axis of the axes object.

  • z_axis: Access the z-axis of the axes object.

Each axis also has all the basic properties described in Object Instructions.

Important

A single axis has a default direction along the global y-axis. When accessing a single axis, a child access within the three.js scene graph is performed. Manipulating child objects is done in the local coordinate system of the child and relative to the parent object. Therefore, all single axes point along their local y-axis when accessed individually.

Material

The material properties of an axes object can be updated dynamically.

However, axes and single axes do not support transparency changes. Only the following material properties can be updated via instructions

  • color: The color of the material.

  • depth_test: Changing whether to enable the depth test when rendering this material.

which are described in Geometric Primitives and in Model.