Skip to content

Function: createLine3D() ​

ts
function createLine3D(ctx, data?, options?): Line3D;

Experimental

Create a Line3D. Add line.object to a 3D scene (or viewport.add(line)).

Parameters ​

ParameterType
ctxPrimitiveContext
dataPartial<Line3DData>
optionsLine3DOptions

Returns ​

Line3D

Released under the MIT License.