UK2Node_EditablePinBase::CreateUserDefinedPin

Creates a UserPinInfo from the specified information, and also adds a pin based on that description to the node

Unreal Engine C++ API Reference > Editor > BlueprintGraph > UK2Node_EditablePinBase

References

   
Module BlueprintGraph
Header /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_EditablePinBase.h
Include #include "K2Node_EditablePinBase.h"
Source /Engine/Source/Editor/BlueprintGraph/Private/K2Node_EditablePinBase.cpp
[UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * CreateUserDefinedPin
(
    const [FName](API\Runtime\Core\UObject\FName) InPinName,
    const [FEdGraphPinType](API\Runtime\Engine\EdGraph\FEdGraphPinType) & InPinType,
    EEdGraphPinDirection InDesiredDirection,
    bool bUseUniqueName
)

Remarks

Creates a UserPinInfo from the specified information, and also adds a pin based on that description to the node

Parameters

Name Description
InPinName Name of the pin to create
InPinType The type info for the pin to create
InDesiredDirection Desired direction of the pin, will auto-correct if the direction is not allowed on the pin.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library