FEditorCategoryUtils::GetCategoryDisplayString

Expands any keys found in the category string (any terms found in square brackets), and sanitizes the name (spacing individual words, etc.).

Choose your operating system:

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
{
    FText FEditorCategoryUtils::GetCategoryDisplayString
    (
        const FText & UnsanitizedCategory
    )
}

Remarks

Expands any keys found in the category string (any terms found in square brackets), and sanitizes the name (spacing individual words, etc.).

Returns

A concatenated text string, with the two categories separated by a pipe, '|', character.

Parameters

Parameter

Description

RootCategory

An id denoting the root category that you want prefixing the result.

SubCategory

A sub-category that you want postfixing the result.