Capítulo 318 de 859
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 );
Constructor
| Signature |
|---|
new AxesHelper( size : number ) |
Methods
| Method | Description |
|---|---|
.dispose() | Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app. |
| `.setColors( xAxisColor : number | Color |