FAnimTickRecord

Information about an animation asset that needs to be ticked

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

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

Include

#include "Animation/AnimationAsset.h"

Syntax

struct FAnimTickRecord

Remarks

Information about an animation asset that needs to be ticked

Variables

Name Description

Public variable

union FAnimTick...

 

@1647

Public variable

bool

 

bCanUseMarkerSync

Public variable

bool

 

bIsEvaluator

Public variable

FBlendFilter &#...

 

BlendFilter

Public variable

TArray< FBlendS...

 

BlendSampleDataCache

Public variable

FAnimTickRecord...

 

BlendSpace

Public variable

float

 

BlendSpacePositionX

Public variable

float

 

BlendSpacePositionY

Public variable

bool

 

bLooping

Public variable

bool

 

bTeleportToTime

Public variable

TSharedPtr< TAr...

 

ContextData

Public variable

float

 

CurrentPosition

Public variable

FDeltaTimeRecor...

 

DeltaTimeRecord

Asset players (and other nodes) have ownership of their respective DeltaTimeRecord value/state, while an asset's tick update will forward the time-line through the tick record

Public variable

float

 

EffectiveBlendWeight

Public variable

float

 

LeaderScore

Public variable

TArray< FPassed...

 

MarkersPassedThisTick

Public variable

FMarkerTickReco...

 

MarkerTickRecord

Marker sync related data

Public variable

const UMirrorDa...

 

MirrorDataTable

Public variable

FAnimTickRecord...

 

Montage

Public variable

float

 

PlayRateMultiplier

Public variable

float

 

RootMotionWeightModifier

Public variable

TObjectPtr< cla...

 

SourceAsset

Public variable

float *

 

TimeAccumulator

Public variable

int32

 

TriangulationIndex

Constructors

Name Description

Public function

FAnimTickRecord()

Public function

FAnimTickRecord

(
    UPoseAsset* InPoseAsset,
    float InFinalBlendWeight
)

Create a tick record for a pose asset.

Public function

FAnimTickRecord

(
    UAnimMontage* InMontage,
    float InCurrentPosition,
    float InWeight,
    TArray< FPassedMarker >& InMarkers...,
    FMarkerTickRecord& InMarkerTickRec...
)

Create a tick record for a montage.

Public function

FAnimTickRecord

(
    UAnimSequenceBase* InSequence,
    bool bInLooping,
    float InPlayRate,
    float InFinalBlendWeight,
    float& InCurrentTime,
    FMarkerTickRecord& InMarkerTickRec...
)

Create a tick record for an anim sequence.

Public function

FAnimTickRecord

(
    UAnimMontage* InMontage,
    float InCurrentPosition,
    float InPreviousPosition,
    float InMoveDelta,
    float InWeight,
    TArray< FPassedMarker >& InMarkers...,
    FMarkerTickRecord& InMarkerTickRec...
)

Please use the montage FAnimTickRecord constructor which removes InPreviousPosition and InMoveDelta

Public function

FAnimTickRecord

(
    UBlendSpace* InBlendSpace,
    const FVector& InBlendInput,
    TArray< FBlendSampleData >& InBlen...,
    FBlendFilter& InBlendFilter,
    bool bInLooping,
    float InPlayRate,
    bool bShouldTeleportToTime,
    bool bIsEvaluator,
    float InFinalBlendWeight,
    float& InCurrentTime,
    FMarkerTickRecord& InMarkerTickRec...
)

Create a tick record for a blendspace.

Functions

Name Description

Public function

void

 

GatherContextData

(
    const FAnimationUpdateContext& InC...
)

Gather any data from the current update context.

Public function Const

float

 

GetRootMotionWeight()

Return the root motion weight for this tick record.

Operators

Name Description

Public function Const

bool

 

operator<

(
    const FAnimTickRecord& Other
)

This can be used with the Sort() function on a TArray of FAnimTickRecord to sort from higher leader score

Deprecated Functions

Name Description

Public function

 

FAnimTickRecord

(
    UAnimMontage* InMontage,
    float InCurrentPosition,
    float InPreviousPosition,
    float InMoveDelta,
    float InWeight,
    TArray< FPassedMarker >& InMarkers...,
    FMarkerTickRecord& InMarkerTickRec...
)

Please use the montage FAnimTickRecord constructor which removes InPreviousPosition and InMoveDelta