UEdGraphSchema_K2::SpawnVariableGetNode

Creates a new variable getter node and adds it to ParentGraph

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

  • UEdGraphSchema_K2::SpawnVariableGetNode()

References

   
Module BlueprintGraph
Header /Engine/Source/Editor/BlueprintGraph/Classes/EdGraphSchema_K2.h
Include #include "EdGraphSchema_K2.h"
Source /Engine/Source/Editor/BlueprintGraph/Private/EdGraphSchema_K2.cpp
virtual [UK2Node_VariableGet](API\Editor\BlueprintGraph\UK2Node_VariableGet) * SpawnVariableGetNode
(
    const FVector2D GraphPosition,
    class [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) * ParentGraph,
    [FName](API\Runtime\Core\UObject\FName) VariableName,
    [UStruct](API\Runtime\CoreUObject\UObject\UStruct) * Source
) const

Remarks

Creates a new variable getter node and adds it to ParentGraph A pointer to the newly spawned node

Parameters

Name Description
GraphPosition The location of the new node inside the graph
ParentGraph The graph to spawn the new node in
VariableName The name of the variable
Source The source of the variable

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library