Navigation
API > API/Plugins > API/Plugins/UAFEditor
Experimental & Intended for removal.
This class associates asset types to preview widgets for the UAF browser. However it is intended to be replaced with a future API within the editor / content browser that does the same.
See: IUAFAssetPreview.h for more future design considerations.
| Name | UUAFAssetPreviewFactorySubsystem |
| Type | class |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAFEditor/Public/Common/AssetPreview/UAFAssetPreviewFactorySubsystem.h |
| Include Path | #include "Common/AssetPreview/UAFAssetPreviewFactorySubsystem.h" |
Syntax
UCLASS (MinimalAPI, Experimental)
class UUAFAssetPreviewFactorySubsystem : public UEditorSubsystem
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → USubsystem → UDynamicSubsystem → UEditorSubsystem → UUAFAssetPreviewFactorySubsystem
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetTypeFactoryMap | TMap< const UStruct *, TSharedPtr< UE::UAF::Editor::FUAFAssetPreviewFactory > > | Map of classes to preview factories | Common/AssetPreview/UAFAssetPreviewFactorySubsystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddAssetPreviewFactory
(
TSharedPtr< UE::UAF::Editor::FUAFAssetPreviewFactory > InFactory |
Method to associate a preview factory with some type. For now only supports one factory per type. | Common/AssetPreview/UAFAssetPreviewFactorySubsystem.h | |
const TSharedPtr< UE::UAF::Editor::FUAFAssetPreviewFactory > GetAssetPreviewFactory
(
const UStruct* InPreviewType |
Get a Factory for the given type, or nullptr if no factory exists. | Common/AssetPreview/UAFAssetPreviewFactorySubsystem.h |