Navigation
API > API/Plugins > API/Plugins/UAFAnimNodeEditor
The FUAFAnimNodeDataFactory is used to produce FUAFAnimNodeData from UObjects. This is used for UI interactions in editor when users drop objects on to FUAFAnimNodeData slots
This factory links UObject class types to FUAFAnimNodeData types.
Note: It is not a requirement for a FUAFAnimNodeData be created from a UObject. It could also be created manually
| Name | FUAFAnimNodeDataFactory |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimNode/Source/UAFAnimNodeEditor/Public/UAFAnimNodeDataFactory.h |
| Include Path | #include "UAFAnimNodeDataFactory.h" |
Syntax
struct FUAFAnimNodeDataFactory
Structs
| Name | Remarks |
|---|---|
| FInitializerInfo |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FAssetInitializer | TFunction< TInstancedStruct< FUAFAnimNodeData >(UObject *)> | Untyped UObject initializer. | UAFAnimNodeDataFactory.h |
| TAnimNodeDataInitializer | TFunction< TAnimNodeDataType(TObjectType *)> | UAFAnimNodeDataFactory.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AllSupportedObjectClassPaths | TArray< FTopLevelAssetPath > | UAFAnimNodeDataFactory.h | |
| AssetInitializers | TMap< FTopLevelAssetPath, FInitializerInfo > | UAFAnimNodeDataFactory.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TInstancedStruct< FUAFAnimNodeData > CreateUAFAnimNodeDataFromObject
(
UObject* Object |
Create a UAFAnimNodeData object from the supplied Object. | UAFAnimNodeDataFactory.h | |
static const FInitializerInfo * FindAssetInitializer
(
const UClass* Class |
UAFAnimNodeDataFactory.h | ||
static TArray< UClass * > GetRegisteredObjectClasses () |
Get all registered UClass types. | UAFAnimNodeDataFactory.h | |
static TArray< UClass * > GetRegisteredObjectClasses () |
UAFAnimNodeDataFactory.h | ||
static TArray< UClass * > GetRegisteredObjectClasses
(
TSubScriptStructOf< FUAFAnimNodeData > BaseAssetType |
Get registered UClass types that correspond to a specific baseclass of FUAFAnimNodeData. | UAFAnimNodeDataFactory.h | |
static bool IsAssetRegistered
(
const UClass* AssetClass |
Checks if an asset type is registered with the factory. | UAFAnimNodeDataFactory.h | |
static FTopLevelAssetPath RegisterAsset
(
TAnimNodeDataInitializer< TAnimNodeDataType, TObjectType >&& Initializer |
Register an UAF asset with the factory This defines a relationship between the TObjectType and the TAnimNodeDataType. | UAFAnimNodeDataFactory.h | |
static FTopLevelAssetPath RegisterAsset
(
TSubScriptStructOf< FUAFAnimNodeData > AnimNodeDataType, |
Register how to create a FUAFAnimNodeData from a ObjectClass. | UAFAnimNodeDataFactory.h | |
static void UnregisterAsset
(
const FTopLevelAssetPath& InObjectClassPath |
Unregister an UAF asset with the factory. | UAFAnimNodeDataFactory.h |