FEditorCategoryUtils::GetCategoryDisplayString

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

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.

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