disposeGrid method

dynamic disposeGrid()
  • remove the grid from the scene

Implementation

disposeGrid() {
  if (this._grid != null && this.scene != null) {
    this.scene!.remove(this._grid);
    this._grid = null;
  }
}