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 FAnimGroupInstance
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< FAnimTickRecord > | ActivePlayers | The list of animation players in this group which are going to be evaluated this frame. |
![]() |
float | AnimLengthRatio | Float in 0 - 1 range representing how far through an animation we are. |
![]() |
bool | bCanUseMarkerSync | Can we use sync markers for ticking this sync group. |
![]() |
int32 | GroupLeaderIndex | The current group leader |
![]() |
FMarkerTickContext | MarkerTickContext | |
![]() |
float | MontageLeaderWeight | This has latest Montage Leader Weight. |
![]() |
float | PreviousAnimLengthRatio | Float in 0 - 1 range representing how far through an animation we were before ticking. |
![]() |
TArray< FName > | ValidMarkers | Valid marker names for this sync group. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Finalize
(
const FAnimGroupInstance* PreviousGroup |
Called after leader has been ticked and decided. |
![]() |
void | Prepare
(
const FAnimGroupInstance* PreviousGroup |
Called after all tick records have been added but before assets are actually ticked. |
![]() |
void | Reset () |
|
![]() |
void | TestTickRecordForLeadership
(
EAnimGroupRole::Type MembershipType |
Checks the last tick record in the ActivePlayers array to see if it's a better leader than the current candidate. |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Use TestTickRecordForLeadership, as it now internally supports montages |