Navigation
Unreal Engine C++ API Reference > 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 > MakePrimaryAssetIdSelector
(
FOnGetPrimaryAssetDisplayText OnGetDisplayText,
FOnSetPrimaryAssetId OnSetId,
bool bAllowClear,
TArray < FPrimaryAssetType > AllowedTypes,
TArray < const UClass * > AllowedClasses,
TArray < const UClass * > DisallowedClasses
)
Remarks
Creates a simple version of a Primary Asset Id selector, not bound to a PropertyHandle
Parameters
Name | Description |
---|---|
OnGetDisplayText | Delegate that returns the text to display in body of combo box |
OnSetId | Delegate called when id is changed |
bAllowClear | If true, add None option to top |