UK2Node_Variable::RecreatePinForVariable

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

Windows
MacOS
Linux

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

Syntax

bool RecreatePinForVariable
(
    EEdGraphPinDirection Direction,
    TArray< UEdGraphPin * > & OldPins,
    FName InPinName
)

Remarks

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

Returns

true if it succeeds, false if it fails.

Parameters

Parameter

Description

Direction

The direction of the variable access.

OldPins

Old pins.

InPinName

Optional pin name, will default to the variable name if not included.

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