Language:
Discover
By Skill Level
By Category

FEditorCategoryUtils::GetCategoryDisplayString

Choose your OS:

Syntax

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

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

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.

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/EditorCategoryUtils.h

Source

Editor/UnrealEd/Private/EditorCategoryUtils.cpp