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 v3d.AxesHelper(5); scene.add(axesHelper);
WebGL / buffergeometry / compression
WebGL / geometry / convex
WebGL / loader / nrrd
size -- (optional) size of the lines representing the axes. Default is 1.
See the base LineSegments class for common properties.
See the base LineSegments class for common methods.
Sets the axes colors to xAxisColor, yAxisColor, zAxisColor.
Disposes of the internally-created material and geometry used by this helper.
For more info on how to obtain the source code of this module see this page.