Navigation
API > API/Plugins > API/Plugins/UAF > API/Plugins/UAF/FAssetDataFactory
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FTopLevelAssetPath RegisterAsset
(
TAssetInitializer< TAssetDataType, TObjectType >&& Initializer |
Register an UAF asset with the factory This defines a relationship between the TObjectType and the TAssetDataType. | UAF/UAFAssetFactory.h | |
static FTopLevelAssetPath RegisterAsset
(
TSubScriptStructOf< FUAFAssetData > AssetDataType, |
Register how to create a FUAFAssetReference from a ObjectClass. | UAF/UAFAssetFactory.h |
RegisterAsset(TAssetInitializer< TAssetDataType, TObjectType > &&)
Description
Register an UAF asset with the factory This defines a relationship between the TObjectType and the TAssetDataType. The initializer definnes how to create a TAssetDataType from a TObjectType instance
| Name | RegisterAsset |
| Type | function |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/UAF/UAFAssetFactory.h |
| Include Path | #include "UAF/UAFAssetFactory.h" |
template<typename TAssetDataType, typename TObjectType>
static FTopLevelAssetPath RegisterAsset
(
TAssetInitializer< TAssetDataType, TObjectType > && Initializer
)
a FTopLevelAssetPath that can be used to unregister the asset type via UnregisterAsset
RegisterAsset(TSubScriptStructOf< FUAFAssetData >, UClass *, FAssetInitializer &&)
Description
Register how to create a FUAFAssetReference from a ObjectClass.
| Name | RegisterAsset |
| Type | function |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/UAF/UAFAssetFactory.h |
| Include Path | #include "UAF/UAFAssetFactory.h" |
| Source | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Private/Factory/UAFAssetFactory.cpp |
static FTopLevelAssetPath RegisterAsset
(
TSubScriptStructOf < FUAFAssetData > AssetDataType,
UClass * ObjectClass,
FAssetInitializer && Initializer
)