@modoki/engine / index / GridOptions
Interface: GridOptions
Skinning
cols
cols:
number
height
height:
number
isInside?
optionalisInside?: (u,v) =>boolean
Optional coverage test in UV space (0..1). A cell is kept only if it has any covered sample; a vertex is emitted only if it borders a kept cell. Omit to keep the full rectangle. Used to cull fully-transparent regions from the grid.
Parameters
u
number
v
number
Returns
boolean
pivotX?
optionalpivotX?:number
pivotY?
optionalpivotY?:number
rows
rows:
number
width
width:
number