Navigation
API > API/Plugins > API/Plugins/UAFAnimNode
The FUAFAnimNodeFactory is used to produce FUAFAnimNode instances from UObjects. This is used in the runtime to produce AnimNodes for animation assets
This factory links UObject class types to FUAFAnimNode types.
| Name | FUAFAnimNodeFactory |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimNode/Source/UAFAnimNode/Public/UAF/AnimNodeCore/UAFAnimNodeFactory.h |
| Include Path | #include "UAF/AnimNodeCore/UAFAnimNodeFactory.h" |
Syntax
struct FUAFAnimNodeFactory
Structs
| Name | Remarks |
|---|---|
| FInitializerInfo |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FAssetInitializer | TFunction< FUAFAnimNodePtr(UObject *, FUAFAnimGraphUpdateContext &Context)> | Asset initializer. | UAF/AnimNodeCore/UAFAnimNodeFactory.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AssetInitializers | TMap< FTopLevelAssetPath, FInitializerInfo > | UAF/AnimNodeCore/UAFAnimNodeFactory.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FUAFAnimNodePtr CreateUAFAnimNodeFromObject
(
UObject* Object, |
Create a UAFAnimNode instance from the supplied Object. | UAF/AnimNodeCore/UAFAnimNodeFactory.h | |
static const FInitializerInfo * FindAssetInitializer
(
const UClass* Class |
UAF/AnimNodeCore/UAFAnimNodeFactory.h | ||
static bool IsAssetRegistered
(
const UClass* InAssetClass |
Check if an asset type is registered | UAF/AnimNodeCore/UAFAnimNodeFactory.h | |
static FTopLevelAssetPath RegisterAsset
(
UClass* ObjectClass, |
Register a UAF asset with the factory provides a function which will return a FUAFAnimNodePtr from a UObject | UAF/AnimNodeCore/UAFAnimNodeFactory.h | |
static void UnregisterAsset
(
const FTopLevelAssetPath& InObjectClassPath |
Unregister an UAF asset with the factory. | UAF/AnimNodeCore/UAFAnimNodeFactory.h |