Navigation
API > API/Plugins > API/Plugins/InterchangeNodes > API/Plugins/InterchangeNodes/UInterchangeShaderPortsAPI
References
| Module | InterchangeNodes |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Nodes/Public/InterchangeShaderGraphNode.h |
| Include | #include "InterchangeShaderGraphNode.h" |
| Source | /Engine/Plugins/Interchange/Runtime/Source/Nodes/Private/InterchangeShaderGraphNode.cpp |
UFUNCTION (BlueprintCallable, Category="Interchange | Node | Material")
static bool ConnectOuputToInputByName
(
UInterchangeBaseNode * InterchangeNode,
const FString & InputName,
const FString & ExpressionUid,
const FString & OutputName
)
Remarks
Adds an input connection attribute. True if the input connection was successfully added to the node.
Parameters
| Name | Description |
|---|---|
| InterchangeNode | The node to create the input on. |
| InputName | The name to give to the input. |
| ExpressionUid | The unique ID of the node to connect to the input. |
| OutputName | The name of the output from ExpressionUid to connect to the input. |