UK2Node_EditablePinBase::CanCreateUserDefinedPin

Queries if a user defined pin of the passed type can be constructed on this node.

Windows
MacOS
Linux

Override Hierarchy

References

Module

BlueprintGraph

Header

/Engine/Source/Editor/BlueprintGraph/Classes/K2Node_EditablePinBase.h

Include

#include "K2Node_EditablePinBase.h"

Syntax

virtual bool CanCreateUserDefinedPin
(
    const FEdGraphPinType & InPinType,
    EEdGraphPinDirection InDesiredDirection,
    FText & OutErrorMessage
)

Remarks

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

Returns

TRUE if a user defined pin can be constructed

Parameters

Parameter

Description

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss