threepipe
Version:
A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.
18 lines • 519 B
JavaScript
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