Navigation
API > API/Plugins > API/Plugins/AssetManagerEditor > API/Plugins/AssetManagerEditor/IAssetManagerEditorModule
References
| Module | AssetManagerEditor |
| Header | /Engine/Plugins/Editor/AssetManagerEditor/Source/AssetManagerEditor/Public/AssetManagerEditorModule.h |
| Include | #include "AssetManagerEditorModule.h" |
| Source | /Engine/Plugins/Editor/AssetManagerEditor/Source/AssetManagerEditor/Private/AssetManagerEditorModule.cpp |
static TSharedRef < SWidget > MakePrimaryAssetTypeSelector
(
FOnGetPrimaryAssetDisplayText OnGetDisplayText,
FOnSetPrimaryAssetType OnSetType,
bool bAllowClear,
bool bAllowAll
)
Remarks
Creates a simple version of a Primary Asset Type selector, not bound to a PropertyHandle
Parameters
| Name | 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 |
| bAlowAll | If true, add All Types option to bottom, returns AllPrimaryAssetTypes if selected |