UK2Node_Variable::CreatePinForVariable

Creates a reader or writer pin for a variable.

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 CreatePinForVariable
(
    EEdGraphPinDirection Direction,
    [FName](API\Runtime\Core\UObject\FName) InPinName
)

Remarks

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

Parameters

Name Description
Direction The direction of the variable access.
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