FDeltaTimeRecord

Used when sampling a given animation asset, this structure will contain the previous frame's internal sample time alongside the 'effective' delta time leading into the current frame.

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 FDeltaTimeRecord

Remarks

Used when sampling a given animation asset, this structure will contain the previous frame's internal sample time alongside the 'effective' delta time leading into the current frame.

An 'effective' delta time represents a value that has undergone all side effects present in the corresponding asset's TickAssetPlayer call including but not limited to syncing, play rate adjustment, looping, etc.

For montages Delta isn't always abs(CurrentPosition-PreviousPosition) because a Montage can jump or repeat or loop

Variables

Name Description

Public variable

float

 

Delta

Functions

Name Description

Public function Const

float

 

GetPrevious()

Public function Const

bool

 

IsPreviousValid()

Public function

void

 

Set

(
    float InPrevious,
    float InDelta
)

Public function

void

 

SetPrevious

(
    float InPrevious
)