Language:
Discover
By Skill Level
By Category

FEditorCategoryUtils::RegisterCategoryKey

Choose your OS:

Syntax

namespace FEditorCategoryUtils
{
    [UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)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

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/EditorCategoryUtils.h

Source

Editor/UnrealEd/Private/EditorCategoryUtils.cpp