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.

18 lines 519 B
import { Mesh } from 'three'; import { iObjectCommons } from './iObjectCommons'; export class Mesh2 extends Mesh { /** * @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; iObjectCommons.upgradeObject3D.call(this); } } //# sourceMappingURL=Mesh2.js.map