Navigation
API > API/Plugins > API/Plugins/OptimusCore > API/Plugins/OptimusCore/UOptimusNode
Description
Preliminary check for whether valid connection can be made between two existing pins. Can be overridden by derived nodes to add their own additional checks.
| Name | CanConnectPinToPin |
| Type | function |
| Header File | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Public/OptimusNode.h |
| Include Path | #include "OptimusNode.h" |
| Source | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Private/OptimusNode.cpp |
bool CanConnectPinToPin
(
const UOptimusNodePin & InThisNodesPin,
const UOptimusNodePin & InOtherNodesPin,
FString * OutReason
) const
true if the other Pin can be connected to the specified side of the node.
Parameters
| Name | Remarks |
|---|---|
| InThisNodesPin | The pin on this node that about to be connected |
| InOtherNodesPin | The pin that is about to be connect to this node |
| OutReason | The reason that the connection is cannot be made if it is invalid |