Capítulo 324 de 859
The helper is an object to define grids. Grids are two-dimensional arrays of lines.
const size = 10;
const divisions = 10;
const gridHelper = new THREE.GridHelper( size, divisions );
scene.add( gridHelper );
Constructor
| Signature |
|---|
| `new GridHelper( size : number, divisions : number, color1 : 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. |