figureone
    Preparing search index...

    Interface OBJ_SpherePoints

    Sphere options object.

    By default, a sphere with its base at the origin will be created.

    • sides number — number of sides around sphere's half great circle (10)
    • radius number — radius of sphere (1)
    • normals flat | curveflat normals will make light shading across a face cone constant. curve will gradiate the shading. Use curve to make a surface look more round with fewer number of sides. (flat)
    • center TypeParsablePoint — center position of sphere ([0, 0])
    • transform TypeParsableTransform — transform to apply to all points of cube
    • 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.