The GridHelper is an object to define grids. Grids are two-dimensional arrays of lines.
const size = 10;
const divisions = 10;
const gridHelper = new v3d.GridHelper(size, divisions);
app.scene.add(gridHelper);
10.10.0x444444.0x888888.
Creates a new GridHelper of size size and divided into divisions segments per side. Colors are optional.
See the base LineSegments class for common methods.
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
For more info on how to obtain the source code of this module see this page.