The GridHelper is an object to define grids. Grids are two-dimensional arrays of lines.
var size = 10; var divisions = 10; var gridHelper = new v3d.GridHelper(size, divisions); scene.add(gridHelper);Example using various helpers
size -- The size of the grid. Default is 10.
divisions -- The number of divisions across the grid. Default is 10.
colorCenterLine -- The color of the centerline. This can be a Color, a hexadecimal value and an CSS-Color name. Default is 0x444444
colorGrid -- The color of the lines of the grid. This can be a Color, a hexadecimal value and an CSS-Color name. Default is 0x888888
Creates a new GridHelper of size 'size' and divided into 'divisions' segments per side. Colors are optional.
For more info on how to obtain the source code of this module see this page.