FBlueprintEditor::DoPromoteToVariable

Perform the actual promote to variable action on the given pin in the given blueprint.

Unreal Engine C++ API Reference > Editor > Kismet > FBlueprintEditor

References

   
Module Kismet
Header /Engine/Source/Editor/Kismet/Public/BlueprintEditor.h
Include #include "BlueprintEditor.h"
Source /Engine/Source/Editor/Kismet/Private/BlueprintEditor.cpp
void DoPromoteToVariable
(
    [UBlueprint](API\Runtime\Engine\Engine\UBlueprint) * InBlueprint,
    [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * InTargetPin,
    bool bInToMemberVariable,
    const FVector2D * InOptionalLocation
)

Remarks

Perform the actual promote to variable action on the given pin in the given blueprint.

Parameters

Name Description
InBlueprint The blueprint in which to create the variable.
InTargetPin The pin on which to base the variable.
bInToMemberVariable TRUE if attempting to create a member variable, FALSE if the variable should be local
InOptionalLocation Where the new node should be placed. If null, a fixed offset from the parent node will be used.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library