Navigation
API > API/Editor > API/Editor/BlueprintEditorLibrary > API/Editor/BlueprintEditorLibrary/UBlueprintEditorLibrary
Description
Gets the user-defined category of a Blueprint member variable. Categories are used to group variables in the My Blueprint panel.
| Name | GetBlueprintVariableCategory |
| Type | function |
| Header File | /Engine/Source/Editor/BlueprintEditorLibrary/Public/BlueprintEditorLibrary.h |
| Include Path | #include "BlueprintEditorLibrary.h" |
| Source | /Engine/Source/Editor/BlueprintEditorLibrary/Private/BlueprintEditorLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting", Meta=(ScriptMethod))
static FText GetBlueprintVariableCategory
(
UBlueprint * Blueprint,
const FName & VariableName
)
The category text. Empty if the variable was not found or has no explicit category override (defaults to the Blueprint's name in the UI).
Parameters
| Name | Remarks |
|---|---|
| Blueprint | The blueprint object |
| VariableName | The variable name |