FDataRegistryEditorModule::MakeDataRegistryTypeSelector

Creates a simple version of a Data Registry Type selector, not bound to a PropertyHandle

Windows
MacOS
Linux

References

Module

DataRegistryEditor

Header

/Engine/Plugins/Runtime/DataRegistry/Source/DataRegistryEditor/Public/DataRegistryEditorModule.h

Include

#include "DataRegistryEditorModule.h"

Source

/Engine/Plugins/Runtime/DataRegistry/Source/DataRegistryEditor/Private/DataRegistryEditorModule.cpp

Syntax

static TSharedRef< SWidget > MakeDataRegistryTypeSelector
(
    FOnGetDataRegistryDisplayText OnGetDisplayText,
    FOnSetDataRegistryType OnSetType,
    bool bAllowClear,
    FName FilterStructName
)

Remarks

Creates a simple version of a Data Registry Type selector, not bound to a PropertyHandle

Parameters

Parameter

Description

OnGetDisplayText

Delegate that returns the text to display in body of combo box

OnSetType

Delegate called when type is changed

bAllowClear

If true, add None option to top

FilterStructName

If not empty, restrict to types that use a struct that inherts from something named this

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