Module |
|
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
(
UBlueprint * Blueprint,
const FName & NewVarName,
const FEdGraphPinType & NewVarType,
const FString & DefaultValue
)
Adds a member variable to the blueprint. It cannot mask a variable in any superclass.
true if it succeeds, false if it fails.
Parameter |
Description |
---|---|
NewVarName |
Name of the new variable. |
NewVarType |
Type of the new variable. |
DefaultValue |
Default value stored as string |