@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
25 lines (24 loc) • 927 B
TypeScript
/**
* Fetches the input from a parent subnet node.
*
* @remarks
* Can only be created inside a subnet SOP.
*
*/
import { TypedSopNode } from './_Base';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
import { NetworkChildNodeType } from '../../poly/NodeContext';
declare class SubnetInputSopParamsConfig extends NodeParamsConfig {
/** @param sets which input of the parent subnet node is used */
input: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>;
}
export declare class SubnetInputSopNode extends TypedSopNode<SubnetInputSopParamsConfig> {
paramsConfig: SubnetInputSopParamsConfig;
static type(): NetworkChildNodeType;
private _currentParentInputGraphNode;
initializeNode(): void;
cook(): Promise<void>;
static PARAM_CALLBACK_reset(node: SubnetInputSopNode): void;
private _setParentInputDependency;
}
export {};