Navigation
API > API/Editor > API/Editor/BlueprintGraph
Interface for adding the small "Add Pin" symbol to a node in the bottom right hand side. Implementing this interface will provide the API needed to get the UI up and running, but the actual pin creation/naming is up to the specific node.
| Name | IK2Node_AddPinInterface |
| Type | class |
| Header File | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_AddPinInterface.h |
| Include Path | #include "K2Node_AddPinInterface.h" |
Syntax
class IK2Node_AddPinInterface
Derived Classes
IK2Node_AddPinInterface derived class hierarchy
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddInputPin() |
Add an additional input pin to this node | K2Node_AddPinInterface.h | |
virtual bool CanAddPin () |
Determines if a pin can be added to this node. | K2Node_AddPinInterface.h | |
virtual bool CanRemovePin
(
const UEdGraphPin* Pin |
Returns true if the given pin can be removed from this node. | K2Node_AddPinInterface.h | |
virtual void RemoveInputPin
(
UEdGraphPin* Pin |
Attempt to remove the given pin from this node. | K2Node_AddPinInterface.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 GetMaxInputPinsNum () |
Determine the maximum number of additional input pins this node can have. | K2Node_AddPinInterface.h | |
static FName GetNameForAdditionalPin
(
int32 PinIndex |
GetNameForAdditionalPin | K2Node_AddPinInterface.h |