UEdGraphSchema_K2::SpawnVariableSetNode

Creates a new variable setter node and adds it to ParentGraph

Windows
MacOS
Linux

Override Hierarchy

UEdGraphSchema_K2::SpawnVariableSetNode()

UGameplayAbilityGraphSchema::SpawnVariableSetNode()

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

Syntax

virtual UK2Node_VariableSet * SpawnVariableSetNode
(
    const FVector2D GraphPosition,
    class UEdGraph * ParentGraph,
    FName VariableName,
    UStruct * Source
) const

Remarks

Creates a new variable setter node and adds it to ParentGraph

Returns

A pointer to the newly spawned node

Parameters

Parameter

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

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