Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
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
| Type | Name | Description | |
|---|---|---|---|
| float | Alpha | The transition alpha between next and previous states. | |
| bool | bActive | Is this transition active? | |
| FAlphaBlend | Blend | Blend object to handle alpha interpolation. | |
| EAlphaBlendOption | BlendOption | Type of blend to use. | |
| TObjectPtr< UBlendProfile > | BlendProfile | Blend profile to use for this transition. Specifying this will make the transition evaluate per-bone. | |
| 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) | |
| FPoseLink | CustomTransitionGraph | Graph to run that determines the final pose for this transition. | |
| float | ElapsedTime | Elapsed time for this transition. | |
| int32 | EndNotify | ||
| TArray< FTransform > | InputPose | Cached Pose for this transition. | |
| int32 | InterruptNotify | ||
| TEnumAsByte< ETransitionLogicType::Type > | LogicType | ||
| int32 | NextState | To and from state ids. | |
| TArray< FAnimNode_TransitionPoseEvaluator * > | PoseEvaluators | ||
| int32 | PreviousState | ||
| TArray< int32, TInlineAllocator< 3 > > | SourceTransitionIndices | ||
| int32 | StartNotify | Notifies are copied from the reference transition info. | |
| TArray< FBlendSampleData > | StateBlendData | Blend data used for per-bone animation evaluation. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAnimationActiveTransitionEntry
(
int32 NextStateID, |
|||
FAnimationActiveTransitionEntry
(
int32 NextStateID, |
Please use FAnimationActiveTransitionEntry constructor with different signature |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | CalculateAlpha
(
float InFraction |
||
| float | CalculateInverseAlpha
(
EAlphaBlendOption BlendMode, |
||
| void | EvaluateCustomTransitionGraph
(
FPoseContext& Output, |
||
| void | InitializeCustomGraphLinks
(
const FAnimationUpdateContext& Context, |
||
| bool | |||
| void | Update
(
const FAnimationUpdateContext& Context, |
||
| void | UpdateCustomTransitionGraph
(
const FAnimationUpdateContext& Context, |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
FAnimationActiveTransitionEntry
(
int32 NextStateID, |
Please use FAnimationActiveTransitionEntry constructor with different signature |