Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UK2Node_MacroInstance
Description
Queries if a user defined pin of the passed type can be constructed on this node. Node will return false by default and must opt into this functionality
Virtual Inheritance
- UK2Node_EditablePinBase::CanCreateUserDefinedPin → UK2Node_Tunnel::CanCreateUserDefinedPin → UK2Node_MacroInstance::CanCreateUserDefinedPin
| Name | CanCreateUserDefinedPin |
| Type | function |
| Header File | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_MacroInstance.h |
| Include Path | #include "K2Node_MacroInstance.h" |
virtual bool CanCreateUserDefinedPin
(
const FEdGraphPinType & InPinType,
EEdGraphPinDirection InDesiredDirection,
FText & OutErrorMessage
)
TRUE if a user defined pin can be constructed
Parameters
| Name | Remarks |
|---|---|
| InPinType | The type info for the pin to create |
| OutErrorMessage | Only filled with an error if there is pin add support but there is an error with the pin type |