Optional
autoSize?: booleanenable automatic sizing and positioning of the box grid according to its child elements
Optional
autoSizePadding?: number | Vec3 | BoxPaddingpadding when autosize is enabled
Optional
autoSizeUpdateRate?: numberupdate frequency in ms when autosize is enabled
Optional
axesColor?: string | number | Coloraxes color
Optional
axesLineWidth?: numberaxes line width as a factor of cell size
Optional
axesTickSize?: numberthe axes tick size as a factor of cell size
Optional
background?: string | Color | numberbackground color of the grid planes
Optional
backgroundOpacity?: numberopacity of the grid planes background color
Optional
cellSize?: numberthe size of a grid cell in world units
Optional
enableProjection?: booleanif enabled, project a shade of the objects within the grid planes, using an orthographic camera
Optional
gridColorMajor?: string | number | Colorthe color of the major grid lines
Optional
gridColorMinor?: string | number | Colorthe color of the minor/sub division grid lines
Optional
gridLineWidth?: numberline width as a factor of the cell size
Optional
gridOrigin?: Vec3world coordinates of the grid origin (origo)
Optional
gridScale?: Vec3scale determining axes values and direction along each axis
Optional
opacity?: numberopacity of the grid planes (including grid lines)
Optional
originValue?: Vec3the axes values at the specified origin (default 0,0,0)
Optional
projectionColor?: string | number | Colorthe color of the projected shade when projection is enabled
Optional
projectionRefreshRate?: numberthe update frequency of the projected texture when projection is enabled (ms)
Optional
projectionResolution?: numberthe quality/size of the projection texture used when projection is enabled
Optional
showRulers?: booleanshow rulers on the grid planes at the intersection point of the pointer
Optional
size?: Vec3size of the grid box in world units
Optional
subDivisions?: numbernumber of sub divisions of a grid cell
BoxGrid props