Navigation
API > API/Plugins > API/Plugins/GameplayAbilitiesEditor > API/Plugins/GameplayAbilitiesEditor/UGameplayAbilityGraphSchema
- UEdGraphSchema_K2::SpawnVariableSetNode()
- UGameplayAbilityGraphSchema::SpawnVariableSetNode()
References
| Module | GameplayAbilitiesEditor |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilitiesEditor/Public/GameplayAbilityGraphSchema.h |
| Include | #include "GameplayAbilityGraphSchema.h" |
| Source | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilitiesEditor/Private/GameplayAbilityGraphSchema.cpp |
virtual UK2Node_VariableSet &42; SpawnVariableSetNode
&40;
const FVector2D GraphPosition,
class UEdGraph &42; ParentGraph,
FName VariableName,
UStruct &42; Source
&41; const
Remarks
Creates a new variable setter 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 |