Module |
|
Header |
/Engine/Plugins/Runtime/DataRegistry/Source/DataRegistryEditor/Public/DataRegistryEditorModule.h |
Include |
#include "DataRegistryEditorModule.h" |
Source |
/Engine/Plugins/Runtime/DataRegistry/Source/DataRegistryEditor/Private/DataRegistryEditorModule.cpp |
static TSharedRef< SWidget > MakeDataRegistryTypeSelector
(
FOnGetDataRegistryDisplayText OnGetDisplayText,
FOnSetDataRegistryType OnSetType,
bool bAllowClear,
FName FilterStructName
)
Creates a simple version of a Data Registry Type selector, not bound to a PropertyHandle
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 |