gi-nx / getParameterNode
ts
function getParameterNode(nodeType: string): GiraffeNodeComponentBase;Returns the parameter node associated with a generative transform node type.
Parameters
| Parameter | Type | Description |
|---|---|---|
nodeType | string | The node type string (e.g. a NodeIds value). |
Returns
GiraffeNodeComponentBase
Throws
If the node type is not registered, or if it does not have a transform object input.
Example
typescript
const ENVELOPE = '2fee2ab8-18fb-42d3-bd2e-153c2c291058';
const parameterNode = gi.getParameterNode(ENVELOPE);