FAnimNotifyQueue

Windows
MacOS
Linux

Syntax

struct FAnimNotifyQueue

Variables

Name Description

Public variable

TArray< FAnimNo...

 

AnimNotifies

Animation Notifies that has been triggered in the latest tick

Public variable

int32

 

PredictedLODLevel

Best LOD that was 'predicted' by UpdateSkelPose.

Public variable

FRandomStream

 

RandomStream

Internal random stream

Public variable

TMap< FName, FA...

 

UnfilteredMontageAnimNotifies

Animation Notifies from montages that still need to be filtered by slot weight

Constructors

Name Description

Public function

FAnimNotifyQueue()

Functions

Name Description

Public function

void

 

AddAnimNotifies

(
    const TArray< FAnimNotifyEventRefer...,
    const float InstanceWeight
)

Wrapper functions for when we aren't coming from a sync group

Public function

void

 

AddAnimNotifies

(
    const TMap< FName, TArray< FAnimNot...,
    const float InstanceWeight
)

Public function

void

 

AddAnimNotifies

(
    bool bSrcIsLeader,
    const TArray< FAnimNotifyEventRefer...,
    const float InstanceWeight
)

Add anim notifies

Public function

void

 

AddAnimNotifies

(
    bool bSrcIsLeader,
    const TMap< FName, TArray< FAnimNot...,
    const float InstanceWeight
)

Add anim notifies from montage

Public function

void

 

AddAnimNotify

(
    const FAnimNotifyEvent* Notify,
    const UObject* NotifySource
)

Add notify to queue

Public function

void

 

Append

(
    const FAnimNotifyQueue& Queue
)

Append one queue to another

Public function

void

 

ApplyMontageNotifies

(
    const FAnimInstanceProxy& Proxy
)

Takes the cached notifies from playing montages and adds them if they pass a slot weight check

Public function Const

bool

 

PassesChanceOfTriggering

(
    const FAnimNotifyEvent* Event
)

Work out whether this notify should be triggered based on its chance of triggering value

Public function Const

bool

 

PassesFiltering

(
    const FAnimNotifyEvent* Notify
)

Should the notifies current filtering mode stop it from triggering

Public function

void

 

Reset

(
    USkeletalMeshComponent* Compon...
)

Reset queue & update LOD level

References

Module

Engine

Header

Runtime/Engine/Public/Animation/AnimNotifyQueue.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback