Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Animation
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
Type | Name | Description | |
---|---|---|---|
![]() |
float | Delta |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
float | GetPrevious () |
|
![]() ![]() |
bool | ||
![]() |
void | Set
(
float InPrevious, |
|
![]() |
void | SetPrevious
(
float InPrevious |