Class: Grid

ROS3D. Grid

new Grid(options)

Create a grid object.

Parameters:
Name Type Description
options

object with following keys:

  • size (optional) - The number of cells of the grid
  • color (optional) - the line color of the grid, like '#cccccc'
  • lineWidth (optional) - the width of the lines in the grid
  • cellSize (optional) - The length, in meters, of the side of each cell
Source:
  • models/Grid.js, line 16