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. |
divisions |
The number of divisions across the grid. |
color1 |
The color of the center line. |
color2 |
The color of the lines of the grid. |
Methods
.dispose()
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.