@doegis/core
Version:
DOE GIS API
3 lines (1 loc) • 384 B
JavaScript
import{Object3DStateSet as t}from"../../webgl-engine/lib/Object3DStateSet.js";class e{constructor(e,i){this.stateType=e,this.objectIdField=i,this.objectStateSet=new t,this.ids=new Set,this.paused=!1}hasGraphic(t){if(this.objectIdField){const e=t.graphic.attributes[this.objectIdField];return this.ids.has(e)}return this.ids.has(t.graphic.uid)}}export{e as Graphics3DObjectStateSet};