Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimationAsset.h |
| Include | #include "Animation/AnimationAsset.h" |
Syntax
struct FAnimAssetTickContext
Remarks
This structure is used to either advance or synchronize animation players.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FMarkerTickContext | MarkerTickContext | ||
| ERootMotionMode::Type | RootMotionMode | The root motion mode of the owning AnimInstance. | |
| FRootMotionMovementParams | RootMotionMovementParams | Root Motion accumulated from this tick context. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAnimAssetTickContext
(
float InDeltaTime, |
|||
FAnimAssetTickContext
(
float InDeltaTime, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| void | |||
| float | Returns the synchronization point (normalized time) | ||
| float | GetDeltaTime () |
Return the delta time of the tick. | |
| float | |||
| float | Returns the previous synchronization point (normalized time) | ||
| void | |||
| bool | IsFollower () |
||
| bool | IsLeader () |
Are we the leader of our sync group (or ungrouped)? | |
| bool | |||
| void | SetAnimationPositionRatio
(
float NormalizedTime |
||
| void | SetLeaderDelta
(
float InLeaderDelta |
||
| void | SetPreviousAnimationPositionRatio
(
float NormalizedTime |
||
| void | SetResyncToSyncGroup
(
bool bInResyncToSyncGroup |
||
| bool | |||
| bool | Should we resync to the sync group this tick (eg: when initializing or resuming from zero weight)? |