UNPKG

@polygonjs/polygonjs

Version:

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

12 lines (11 loc) 335 B
"use strict"; export class ParamTimeDependentState { constructor(param) { this.param = param; } active() { var _a; const frameGraphNodeId = this.param.scene().timeController.graphNode.graphNodeId(); return ((_a = this.param.graphPredecessorIds()) == null ? void 0 : _a.includes(frameGraphNodeId)) || false; } }