Navigation
API > API/Plugins > API/Plugins/OptimusCore > API/Plugins/OptimusCore/UOptimusNodeGraph
References
| Module | OptimusCore |
| Header | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Public/OptimusNodeGraph.h |
| Include | #include "OptimusNodeGraph.h" |
| Source | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Private/OptimusNodeGraph.cpp |
bool ConnectAdderPin
(
IOptimusNodeAdderPinProvider * InTargetNode,
const IOptimusNodeAdderPinProvider::FAdderPinAction & InSelectedAction,
UOptimusNodePin * InSourcePin
)
Remarks
Add a new pin to the target node with the type of source pin and connect the source pin to the new pin True if a new pin is created.
Parameters
| Name | Description |
|---|---|
| InTargetNode | The node to add the pin to, it has to have an adder pin |
| InSelectedAction | The selected action that defines where the new pin should be added |
| InSourcePin | The pin to create the new pin and to connect to the new pin |