import * as THREE from 'three'; import { ContextManager, Observable } from '@zcomponent/core'; import { Curve3 } from './Curve3'; /** * A curve with straight line segments between points. * * Add Point nodes as children to define the points the curve passes through. * * This node represents the curve as a logical path. To show a visible line in the scene, use the Line2 component. * * @zcomponent * @zgroup Curves * @ztag three/Curve3/LineCurve3 * @ztag three/PointHost/LineCurve3 * @zparents three/CurveHost/** * @zparents three/Object3D/Group/** * @zicon polyline * @zdefaultchild "Point 0" "@zcomponent/three/lib/components/Point#Point" position="[0, 0, 0]" * @zdefaultchild "Point 1" "@zcomponent/three/lib/components/Point#Point" position="[1, 1, 0]" * @zdefaultchild "Point 2" "@zcomponent/three/lib/components/Point#Point" position="[1, 1, 1]" */ export declare class LineCurve3 extends Curve3 { curve: THREE.CurvePath | undefined; element: THREE.Group; private _helper; private _generatedClosed; private _generatedPoints; constructor(contextManager: ContextManager, constructorProps: {}); updateCurve: () => boolean; private _updateHelpers; private _cleanUpHelpers; /** * @zprop * @zgroup LineCurve3 * @zgrouppriority 20 * @zdefault false */ closed: Observable; dispose(): never; }