Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > Kismet2 > FBlueprintEditorUtils
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/Kismet2/BlueprintEditorUtils.h |
Include | #include "Kismet2/BlueprintEditorUtils.h" |
Source | /Engine/Source/Editor/UnrealEd/Private/Kismet2/BlueprintEditorUtils.cpp |
static bool AddMemberVariable
&40;
UBlueprint &42; Blueprint,
const FName & NewVarName,
const FEdGraphPinType & NewVarType,
const FString & DefaultValue
&41;
Remarks
Adds a member variable to the blueprint. It cannot mask a variable in any superclass. true if it succeeds, false if it fails.
Parameters
Name | Description |
---|---|
NewVarName | Name of the new variable. |
NewVarType | Type of the new variable. |
DefaultValue | Default value stored as string |