figureone
    Preparing search index...

    Interface OBJ_Line3Points

    3D line options object.

    A 3D line is a cylinder with optional arrows on the end. Unlike a 2D line, the arrow profiles can only be simple triangles.

    • p1 TypeParsablePoint — ([0, 0, 0])
    • p2 TypeParsablePoint — (default: p1 + [1, 0, 0])
    • width number — width of line
    • arrow boolean | OBJ_Line3Arrow | null — define to use arrows at one or both ends of the line
    • sides number — number of sides (10)
    • normals flat | curveflat normals will make light shading across a line face constant. curve will gradiate the shading. Use curve to make a surface look more round with fewer number of sides. (curve)
    • transform TypeParsableTransform — transform to apply to line
    • 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.
    • rotation number — rotation of line around its axis - this is only noticable for small numbers of sides (0)