Navigation
API > API/Plugins > API/Plugins/UAFAnimGraph
Set of parameters that describe a way of generating & initializing an animation graph TODO: To add an internal trait, use AddInternalTrait. TODO: Interface to map public interface to internal traits
| Name | FAnimNextFactoryParams |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimGraph/Source/UAFAnimGraph/Public/Factory/AnimNextFactoryParams.h |
| Include Path | #include "Factory/AnimNextFactoryParams.h" |
Syntax
USTRUCT (BlueprintType )
struct FAnimNextFactoryParams
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAnimNextFactoryParams() |
Factory/AnimNextFactoryParams.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Builder | FAnimNextSimpleAnimGraphBuilder | Method used to create a graph. | Factory/AnimNextFactoryParams.h |
|
| FAnimNextGraphInstanceTaskInstanceData | friend | Factory/AnimNextFactoryParams.h | ||
| InitializeTasks | TArray< UE::UAF::FInstanceTask > | Tasks to run on the factory-generated graph instance via InitializeInstance, used for initial setup of variables etc. | Factory/AnimNextFactoryParams.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAnimNextFactoryParams & AddInitializeTask
(
UE::UAF::FInstanceTask&& InTask |
Add an initialize task used to set up an instance when these params are applied. | Factory/AnimNextFactoryParams.h | |
const UE::UAF::IAnimGraphBuilder & GetBuilder() |
Get the builder that these params hold. | Factory/AnimNextFactoryParams.h | |
void InitializeInstance
(
FUAFAssetInstance& InInstance |
Apply these params to the supplied instance. | Factory/AnimNextFactoryParams.h | |
bool IsValid() |
Whether these params are valid for application. | Factory/AnimNextFactoryParams.h | |
FAnimNextFactoryParams & PushPublicTrait
(
const StructType& InValue, |
Push a trait struct onto the specified stack in the graph builder, initialized to the supplied value The trait struct forms part of the created instance's 'public interface'. | Factory/AnimNextFactoryParams.h | |
FAnimNextFactoryParams & PushPublicTraitStruct
(
int32 InStackIndex |
Push a trait struct onto the specified stack in the graph builder, initialized to the struct's defaults. | Factory/AnimNextFactoryParams.h | |
void Reset() |
Clear these parameters back to empty. | Factory/AnimNextFactoryParams.h |