figureone
    Preparing search index...

    Interface OBJ_SurfacePoints

    Options object for defining a 3D surface.

    • points TypeParsablePoint[][] — A grid of points that define a 3D surface
    • normals flat | curve | curveColumns | curveRowsflat 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.
    • closeColumns boolean — Set to true if first row and last row are the same, and normals is 'curveRows' or 'curve' to get correct normal calculations (false)
    • closeRows boolean — Set to true if first row and last column are the same, and normals is 'curveColumns' or 'curve' to get correct normal calculations (false)
    • transform TypeParsableTransform — apply a final transform to shape
    • lines boolean — 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.
    • invertNormals boolean — if true, all normals will be inverted