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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback