UK2Node_Variable::RecreatePinForVariable

Creates a reader or writer pin for a variable from an old pin.

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

References

   
Module BlueprintGraph
Header /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_Variable.h
Include #include "K2Node_Variable.h"
Source /Engine/Source/Editor/BlueprintGraph/Private/K2Node_Variable.cpp
bool RecreatePinForVariable
(
    EEdGraphPinDirection Direction,
    [TArray](API\Runtime\Core\Containers\TArray)< [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * > & OldPins,
    [FName](API\Runtime\Core\UObject\FName) InPinName
)

Remarks

Creates a reader or writer pin for a variable from an old pin. true if it succeeds, false if it fails.

Parameters

Name Description
Direction The direction of the variable access.
OldPins Old pins.
InPinName Optional pin name, will default to the variable name if not included.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library