Skip to main content

Import

Inheritance: extends StrokeLine implements IPrimitive

Constructor

string
number[]
number[]
number
boolean
number
Path

Properties

string
Map<string, THREE.Object3D>
boolean
boolean
LineOptions
Array<number>
Array<number>
number
Path
Profile
Editable-path view used by the GUI editor, reusing the same Profile contract as PolygonPrimitive. A line is an open 2-vertex path: the outer ring is [[startX, startZ], [endX, endZ]]. Editing happens on the XZ plane, so each endpoint’s Y is preserved through the existing start/end setters (which keep path.points in sync and rebuild the kernel geometry).

Methods

setOPConfig

getOPConfig

setOPGeometry

setOPMaterial

Types

StrokeLine

A three.js line through flat [x, y, z, ...] positions, with an optional screen-width fat line (three’s Line2) drawn instead. The package does not export this type by name.

IPrimitive

The package does not export this type by name.

LineOptions

Path

The package does not export this type by name.

Profile

Profile is a loop of points.
Last modified on November 2, 2026