[page:LineSegments] →
[name]
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.
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 axesHelper = new THREE.AxesHelper( 5 );
scene.add( axesHelper );
Constructor
[name]( [param: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.
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]