UNPKG

@polygonjs/polygonjs

Version:

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

16 lines (15 loc) 587 B
import { PolyScene } from '../PolyScene'; import { BaseNodeType } from '../../nodes/_Base'; import { BaseParamType } from '../../params/_Base'; import { Ref } from '@vue/reactivity'; export declare class GraphNodesController { protected scene: PolyScene; private _graphNodeIdByPath; private _pathByGraphNodeId; constructor(scene: PolyScene); notifyNodePathChanged(node: BaseNodeType): void; notifyParamPathChanged(param: BaseParamType): void; private _notifyGraphNodePathChanged; pathRef(path: string): Ref<number | null>; private _findOrCreateRef; }