Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Animation
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimStateMachineTypes.h |
Include | #include "Animation/AnimStateMachineTypes.h" |
Syntax
USTRUCT ()
struct FBakedAnimationStateMachine
Variables
Type | Name | Description | |
---|---|---|---|
int32 | InitialState | Index of the initial state that the machine will start in. | |
FName | MachineName | Name of this machine (primarily for debugging purposes) | |
TArray< FBakedAnimationState > | States | List of all states this machine can be in. | |
TArray< FAnimationTransitionBetweenStates > | Transitions | List of all transitions between states. |
Functions
Type | Name | Description | |
---|---|---|---|
int32 | FindStateIndex
(
const FName& StateName |
Finds a state by name or INDEX_NONE if no such state exists. | |
int32 | FindTransitionIndex
(
const FName& InStateNameFrom, |
Find the index of a transition from StateNameFrom to StateNameTo. | |
int32 | FindTransitionIndex
(
const int32 InStateIdxFrom, |
||
Cached StatID for this state machine. |