Inheritance: EventDispatcher → Object3D → Line → LineSegments →
An axis object to visualize the 3 axes in a simple way. The X axis is red. The Y axis is green. The Z axis is blue.
const axesHelper = new THREE.AxesHelper( 5 );
scene.add( axesHelper );
Constructs a new axes helper.
size
Size of the lines representing the axes.
Default is 1.
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
Defines the colors of the axes helper.
xAxisColor
The color for the x axis.
yAxisColor
The color for the y axis.
zAxisColor
The color for the z axis.
Returns: A reference to this axes helper.