@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
25 lines (24 loc) • 940 B
TypeScript
/**
* Fetches the input from a parent subnet node.
*
* @remarks
* Can only be created inside a subnet ANIM node.
*
*/
import { TypedAnimNode } from './_Base';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
import { NetworkChildNodeType } from '../../poly/NodeContext';
declare class SubnetInputAnimParamsConfig 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 SubnetInputAnimNode extends TypedAnimNode<SubnetInputAnimParamsConfig> {
paramsConfig: SubnetInputAnimParamsConfig;
static type(): NetworkChildNodeType;
private _currentParentInputGraphNode;
initializeNode(): void;
cook(): Promise<void>;
static PARAM_CALLBACK_reset(node: SubnetInputAnimNode): void;
private _setParentInputDependency;
}
export {};