FEditorCategoryUtils::RegisterCategoryKey

To facilitate simple category renaming/reordering, we offer a key replacement system, where users can specify a key in their category metadata that will evaluate to some fully qualified category.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorCategoryUtils.h

Include

#include "EditorCategoryUtils.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorCategoryUtils.cpp

Syntax

namespace FEditorCategoryUtils
{
    void FEditorCategoryUtils::RegisterCategoryKey
    (
        const FString & Key,
        const FText & Category,
        const FText & Tooltip
    )
}

Remarks

To facilitate simple category renaming/reordering, we offer a key replacement system, where users can specify a key in their category metadata that will evaluate to some fully qualified category. Use this function to register key/category mappings, or to override existing ones (like those pre-registered for all the "common" categories).

In metadata, keys are denoted by braces, like {Utilities} here:

Parameters

Parameter

Description

Key

A string key that people will use in metadata to reflect this category mapping.

Category

The qualified category path that you want the key expanded to.

Tooltip

An optional tooltip text to use for the category. If not specified an attempt to find it from the NodeCategories UDN file will be made

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