FAnimGroupInstance

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Animation/AnimationAsset.h"

Syntax

struct FAnimGroupInstance

Variables

Name Description

Public variable

TArray< FAnimTi...

 

ActivePlayers

The list of animation players in this group which are going to be evaluated this frame.

Public variable

bool

 

bCanUseMarkerSync

Can we use sync markers for ticking this sync group.

Public variable

int32

 

GroupLeaderIndex

The current group leader

Public variable

FMarkerTickCont...

 

MarkerTickContext

Public variable

float

 

MontageLeaderWeight

This has latest Montage Leader Weight.

Public variable

TArray< FName >

 

ValidMarkers

Valid marker names for this sync group.

Constructors

Name Description

Public function

FAnimGroupInstance()

Functions

Name Description

Public function

void

 

Finalize

(
    const FAnimGroupInstance* Prev...
)

Called after leader has been ticked and decided.

Public function

void

 

Prepare

(
    const FAnimGroupInstance* Prev...
)

Called after all tick records have been added but before assets are actually ticked.

Public function

void

 

Reset()

Public function

void

 

TestMontageTickRecordForLeadership()

Checks the last tick record in the ActivePlayers array to see if we have a better leader for montage This is simple rule for higher weight becomes leader Only one from same sync group with highest weight will be leader

Public function

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss