Navigation
API > API/Plugins > API/Plugins/UAFEditor
Experimental. May be removed whenever we switch to the future generic content browser IAssetPreviewCustomization API.
Base struct for factories that can create IUAFAssetPreview widgets.
@TODO: Reconsider the type constraint. It is okay but some factories may support multiple types. Should we allow for multiple factories for the same type based on a priority system?
| Name | FUAFAssetPreviewFactory |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAFEditor/Public/Common/AssetPreview/IUAFAssetPreview.h |
| Include Path | #include "Common/AssetPreview/IUAFAssetPreview.h" |
Syntax
struct FUAFAssetPreviewFactory
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FUAFAssetPreviewFactory() |
Common/AssetPreview/IUAFAssetPreview.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedRef< IUAFAssetPreview > CreateAssetPreviewWidget
(
TSharedPtr< FAssetEditorToolkit > InAssetEditorToolkit, |
Callback used to create the preview for the given asset data. | Common/AssetPreview/IUAFAssetPreview.h | |
const UStruct * GetPreviewType() |
Get the preview type this factory is used for. | Common/AssetPreview/IUAFAssetPreview.h |