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 |
|
| FAnimNextGraphInstance | friend | 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 | |
| UUAFAnimGraph | friend | Factory/AnimNextFactoryParams.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AccessTraitStruct
(
int32 InStackIndex, |
Access a trait's struct during initialization (for instance to inject an AnimSequence) | Factory/AnimNextFactoryParams.h | |
void AddComponent() |
Add a component. | Factory/AnimNextFactoryParams.h | |
FAnimNextFactoryParams & AddInitializeTask
(
UE::UAF::FInstanceTask&& InTask |
Add an initialize task used to set up an instance when these params are applied. | Factory/AnimNextFactoryParams.h | |
void AddLink
(
int32 InOutputStackIndex, |
Add a link between the output of the specified stack and the input stack's child. | Factory/AnimNextFactoryParams.h | |
void AddPublicVariablesAsset
(
const TObjectPtr< const UUAFRigVMAsset >& UAFAsset |
Add a public shared variables asset to these params. | Factory/AnimNextFactoryParams.h | |
void AddPublicVariablesRigVMAsset
(
const TScriptInterface< const IRigVMRuntimeAssetInterface >& RigVMAsset |
Add a public variables rig VM asset to these params. | Factory/AnimNextFactoryParams.h | |
void AddPublicVariablesStructByType
(
const TObjectPtr< const UScriptStruct >& InStruct |
Factory/AnimNextFactoryParams.h | ||
void AddTrait
(
UE::UAF::ETraitVariableMapping InMapping, |
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' if InMapping is 'All'. | Factory/AnimNextFactoryParams.h | |
void AddTraitStruct
(
UE::UAF::ETraitVariableMapping InMapping, |
Push a trait struct onto the specified stack in the graph builder, initialized to the struct's defaults. | Factory/AnimNextFactoryParams.h | |
FAnimNextFactoryParams & AddVariableMapping
(
FAnimNextVariableReference InVariable, |
Add a variable mapping between a public variable and a specific trait's latent property. | Factory/AnimNextFactoryParams.h | |
FAnimNextFactoryParams & AddVariableMappingToAll
(
FAnimNextVariableReference InVariable, |
Add a variable mapping between a public variable and all trait latent properties of the specified name. | Factory/AnimNextFactoryParams.h | |
void AddVariableStruct() |
Add a variable struct. | Factory/AnimNextFactoryParams.h | |
const UE::UAF::IAnimGraphBuilder & GetBuilder() |
Get the builder that these params hold. | Factory/AnimNextFactoryParams.h | |
bool IsValid() |
Whether these params are valid for application. | Factory/AnimNextFactoryParams.h | |
void Reset() |
Clear these parameters back to empty. | Factory/AnimNextFactoryParams.h |