UNPKG

polygonjs-engine

Version:

node-based webgl 3D engine https://polygonjs.com

16 lines (15 loc) 395 B
import {CoreGraphNode as CoreGraphNode2} from "../../../core/graph/CoreGraphNode"; export class BaseCopyStamp extends CoreGraphNode2 { constructor(scene) { super(scene, "CopyStamp"); this._global_index = 0; } set_global_index(index) { this._global_index = index; this.setDirty(); this.removeDirtyState(); } value(attrib_name) { return this._global_index; } }