FBakedAnimationStateMachine

Syntax

struct FBakedAnimationStateMachine

Variables

Name Description

Public variable

int32

 

InitialState

Index of the initial state that the machine will start in.

Public variable

FName

 

MachineName

Name of this machine (primarily for debugging purposes)

Public variable

TArray < FBakedA ...

 

States

List of all states this machine can be in.

Public variable

TArray < FAnimat ...

 

Transitions

List of all transitions between states.

Constructors

Name Description

Public function

FBakedAnimationStateMachine()

Cached StatID for this state machine.

Functions

Name Description

Public function Const

int32

 

FindStateIndex

(
    const FName & StateName
)

Finds a state by name or INDEX_NONE if no such state exists.

Public function Const

int32

 

FindTransitionIndex

(
    const FName & InStateNameFrom,
    const FName & InStateNameTo
)

Find the index of a transition from StateNameFrom to StateNameTo.

Public function Const

int32

 

FindTransitionIndex

(
    const int32 InStateIdxFrom,
    const int32 InStateIdxTo
)

Find the index of a transition from StateNameFrom to StateNameTo.

References

Module

Engine

Header

Runtime/Engine/Classes/Animation/AnimStateMachineTypes.h