FAnimationActiveTransitionEntry

Information about an active transition on the transition stack.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Animation/AnimNode_StateMachine.h"

Syntax

struct FAnimationActiveTransitionEntry

Remarks

Information about an active transition on the transition stack.

Variables

Name Description

Public variable

float

 

Alpha

The transition alpha between next and previous states.

Public variable

bool

 

bActive

Is this transition active?

Protected variable

FAlphaBlend

 

Blend

Blend object to handle alpha interpolation.

Public variable

EAlphaBlendOpti...

 

BlendOption

Type of blend to use.

Public variable

UBlendProfile &...

 

BlendProfile

Blend profile to use for this transition. Specifying this will make the transition evaluate per-bone.

Public variable

float

 

CrossfadeDuration

Duration of this cross-fade (may be shorter than the nominal duration specified by the state machine if the target state had non-zero weight at the start)

Public variable

FPoseLink

 

CustomTransitionGraph

Graph to run that determines the final pose for this transition.

Public variable

float

 

ElapsedTime

Elapsed time for this transition.

Public variable

int32

 

EndNotify

Public variable

TArray< FTransf...

 

InputPose

Cached Pose for this transition.

Public variable

int32

 

InterruptNotify

Public variable

TEnumAsByte< ET...

 

LogicType

Public variable

int32

 

NextState

To and from state ids.

Public variable

TArray< FAnimNo...

 

PoseEvaluators

Public variable

int32

 

PreviousState

Public variable

TArray< int32, ...

 

SourceTransitionIndices

Public variable

int32

 

StartNotify

Notifies are copied from the reference transition info.

Public variable

TArray< FBlendS...

 

StateBlendData

Blend data used for per-bone animation evaluation.

Constructors

Name Description

Public function

FAnimationActiveTransitionEntry()

Public function

FAnimationActiveTransitionEntry

(
    int32 NextStateID,
    float ExistingWeightOfNextState,
    FAnimationActiveTransitionEntry...,
    int32 PreviousStateID,
    const FAnimationTransitionBetweenSt...
)

Functions

Name Description

Protected function Const

float

 

CalculateAlpha

(
    float InFraction
)

Protected function Const

float

 

CalculateInverseAlpha

(
    EAlphaBlendOption BlendMode,
    float InFraction
)

Public function

void

 

EvaluateCustomTransitionGraph

(
    FPoseContext& Output,
    FAnimNode_StateMachine& StateMachi...,
    bool IntermediatePoseIsValid,
    int32 ActiveTransitionIndex
)

Public function

void

 

InitializeCustomGraphLinks

(
    const FAnimationUpdateContext& Con...,
    const FBakedStateExitTransition& T...
)

Public function

bool

 

Serialize

(
    FArchive& Ar
)

Public function

void

 

Update

(
    const FAnimationUpdateContext& Con...,
    int32 CurrentStateIndex,
    bool& OutFinished
)

Public function

void

 

UpdateCustomTransitionGraph

(
    const FAnimationUpdateContext& Con...,
    FAnimNode_StateMachine& StateMachi...,
    int32 ActiveTransitionIndex
)

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