FAnimNode_StateMachine::FindValidTransition

Finds the highest priority valid transition, information pass via the OutPotentialTransition variable.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Animation/AnimNode_StateMachine.h"

Source

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

Syntax

bool FindValidTransition
(
    const FAnimationUpdateContext & Context,
    const FBakedAnimationState & StateInfo,
    FAnimationPotentialTransition & OutPotentialTransition,
    TArray< int32, TInlineAllocator< 4 >> & OutVisitedStateIndices
)

Remarks

Finds the highest priority valid transition, information pass via the OutPotentialTransition variable. OutVisitedStateIndices will let you know what states were checked, but is also used to make sure we don't get stuck in an infinite loop or recheck states

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss