Constructor
new PolarGridHelper( radius : number, sectors : number, rings : number, divisions : number, color1 : number | Color | string, color2 : number | Color | string )
Constructs a new polar grid helper.
| radius |
The radius of the polar grid. This can be any positive number. Default is |
| sectors |
The number of sectors the grid will be divided into. This can be any positive integer. Default is |
| rings |
The number of rings. This can be any positive integer. Default is |
| divisions |
The number of line segments used for each circle. This can be any positive integer. Default is |
| color1 |
The first color used for grid elements. Default is |
| color2 |
The second color used for grid elements. 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.