UNPKG

threepipe

Version:

A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.

19 lines 587 B
import { Line2 } from 'three/examples/jsm/lines/Line2.js'; import { iObjectCommons } from './iObjectCommons'; export class MeshLine extends Line2 { /** * @deprecated use `this` instead */ get modelObject() { return this; } constructor(geometry, material) { super(geometry, material); this.assetType = 'model'; this.setDirty = iObjectCommons.setDirty; this.refreshUi = iObjectCommons.refreshUi; this.isMeshLine = true; iObjectCommons.upgradeObject3D.call(this); } } //# sourceMappingURL=MeshLine.js.map