[page:LineSegments] →

[name]

An axis object to visualize the the 3 axes in a simple way.
The X axis is red. The Y axis is green. The Z axis is blue.

Example

[example:webgl_geometries WebGL / geometries]
[example:webgl_geometries2 WebGL / geometries2]
[example:webgl_geometry_convex WebGL / geometry / convex]
[example:webgl_geometry_spline_editor WebGL / geometry / spline / editor]
var axisHelper = new v3d.AxisHelper(5); scene.add(axisHelper);

Constructor

[name]([page:Number size])

[page:Number size] -- (optional)size of the lines representing the axes. Default is *1*.

Properties

See the base [page:LineSegments] class for common properties.

Methods

See the base [page:LineSegments] class for common methods.
[sourceHint]