Constructor
new GridHelper( size : number, divisions : number, color1 : number | Color | string, color2 : number | Color | string )
Constructs a new grid helper.
| size |
The size of the grid. Default is |
| divisions |
The number of divisions across the grid. Default is |
| color1 |
The color of the center line. Default is |
| color2 |
The color of the lines of the grid. Default is |
Methods
.dispose()
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.