FBlueprintEditorUtils::SetBlueprintVariableCategory

Sets the custom category on the variable with the specified name.

Windows
MacOS
Linux

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

Syntax

static void SetBlueprintVariableCategory
(
    UBlueprint * Blueprint,
    const FName & VarName,
    const UStruct * InLocalVarScope,
    const FText & NewCategory,
    bool bDontRecompile
)

Remarks

Sets the custom category on the variable with the specified name. @note Will not change the category for variables defined via native classes.

Parameters

Parameter

Description

VarName

Name of the variable

InLocalVarScope

Local variable's scope, if looking to modify a local variable

VarCategory

The new value of the custom category for the variable

bDontRecompile

If true, the blueprint will not be marked as modified, and will not be recompiled.

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