pointsTypeParsablePoint[][] — A grid of points that
define a 3D surface
normalsflat | curve | curveColumns | curveRows — flat normals will make shading (from a light source) across a face of the
object a constant color. curveRows will gradiate the shading along the
rows of the grid. curveColumns will gradiate the shading along the columns
of the grid. curve will gradiate the shading along both rows and columns.
Use curve, curveRows, or curveColumns to make a surface
look more round with fewer number of sides.
closeColumnsboolean — Set to true if first row and last row are
the same, and normals is 'curveRows' or 'curve' to get correct normal
calculations (false)
closeRowsboolean — Set to true if first row and last
column are the same, and normals is 'curveColumns' or 'curve' to get
correct normal calculations (false)
linesboolean — if true then points representing
the edes of the faces will be returned. If false, then points
representing two triangles per face and an
associated normal for each point will be returned.
invertNormalsboolean — if true, all normals will be inverted
Options object for defining a 3D surface.
pointsTypeParsablePoint[][] — A grid of points that define a 3D surfacenormalsflat|curve|curveColumns|curveRows—flatnormals will make shading (from a light source) across a face of the object a constant color.curveRowswill gradiate the shading along the rows of the grid.curveColumnswill gradiate the shading along the columns of the grid.curvewill gradiate the shading along both rows and columns. Usecurve,curveRows, orcurveColumnsto make a surface look more round with fewer number of sides.closeColumnsboolean— Set totrueif first row and last row are the same, and normals is'curveRows'or'curve'to get correct normal calculations (false)closeRowsboolean— Set totrueif first row and last column are the same, and normals is'curveColumns'or'curve'to get correct normal calculations (false)transformTypeParsableTransform — apply a final transform to shapelinesboolean— iftruethen points representing the edes of the faces will be returned. Iffalse, then points representing two triangles per face and an associated normal for each point will be returned.invertNormalsboolean— iftrue, all normals will be inverted