IDetailLayoutBuilder::SortCategories

Adds sort algorythm which overrides standard algorythm with that provided by the caller.

Windows
MacOS
Linux

References

Module

PropertyEditor

Header

/Engine/Source/Editor/PropertyEditor/Public/DetailLayoutBuilder.h

Include

#include "DetailLayoutBuilder.h"

Syntax

void SortCategories
(
    const FOnCategorySortOrderFunction & SortFunction
)

Remarks

Adds sort algorythm which overrides standard algorythm with that provided by the caller. Function called on each category after all categories have been added, and provides caller with ability to override sort order.

Parameters

Parameter

Description

SortFunction

Function called on final pass of detail panel build, which provides map of all categories to set final sort order on.

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