FBakedAnimationStateMachine::FindStateIndex

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

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Animation/AnimStateMachineTypes.h

Include

#include "Animation/AnimStateMachineTypes.h"

Source

/Engine/Source/Runtime/Engine/Private/Animation/AnimStateMachineTypes.cpp

Syntax

int32 FindStateIndex
(
    const FName & StateName
) const

Remarks

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