Navigation
API > API/Plugins > API/Plugins/UAF
Creates or recycles programmatically-generated systems Uses the hash of the recipe to determine if the system has been created already. If the hash matches one that has already been created but the system has already been GCed it will be re-created as needed.
| Name | FSystemFactory |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/Factory/SystemFactory.h |
| Include Path | #include "Factory/SystemFactory.h" |
Syntax
struct FSystemFactory
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FParamsInitializer | TFunction< void(const TConstStructView< FUAFSystemFactoryAsset > &, FUAFSystemFactoryParams &)> | Function used to initialize the object for the factory-generated system. | Factory/SystemFactory.h |
| TParamsInitializer | TFunction< void(const TAssetData &, FUAFSystemFactoryParams &)> | Factory/SystemFactory.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FAnimNextModuleImpl | friend | Factory/SystemFactory.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const UUAFSystem * BuildSystem
(
const ISystemBuilder& InBuilder |
Make a system from the specified recipe. | Factory/SystemFactory.h | |
static void Destroy() |
Called on module shutdown to unload everything. | Factory/SystemFactory.h | |
static FUAFSystemFactoryParams GetDefaultParamsForAsset
(
TConstStructView< FUAFSystemFactoryAsset > Asset |
Get default params used to build & initialize a system according to registered object class, copying InObject via the registered initializer Effective equivalent of GetDefaultParamsForClass and InitializeDefaultParamsForObject. | Factory/SystemFactory.h | |
static TConstArrayView< TSubScriptStructOf< FUAFSystemFactoryAsset > > GetRegisteredAssetDataTypes() |
Get all registered classes used to generate factory systems. | Factory/SystemFactory.h | |
static void Init() |
Called on module init. | Factory/SystemFactory.h | |
static void OnPreExit() |
Called before engine shutdown to clear internal state while UObjects are still valid. | Factory/SystemFactory.h | |
static void RegisterAsset
(
FUAFSystemFactoryParams&& InParams, |
Factory/SystemFactory.h | ||
static void RegisterAsset
(
const TSubScriptStructOf< FUAFSystemFactoryAsset >& AssetStructType, |
Factory/SystemFactory.h |