Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UAnimInstance
Controls which notifies are triggered (used by TriggerAnimNotifies()). Useful mainly when handling active anim notify state lifetimes.
| Name | ENotifyTriggerMode |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimInstance.h |
| Include Path | #include "Animation/AnimInstance.h" |
Syntax
enum ENotifyTriggerMode
{
Default,
ForceAnimGraphOnly,
ForceMontageOnly,
ForceAllSources,
}
Values
| Name | Remarks |
|---|---|
| Default | Uses the global dispatch policy (a.Notifies.DispatchPolicy) for eligibility: 1: only trigger notifies from sources (anim graph or montage) that updated before the trigger request. |
| ForceAnimGraphOnly | Override: Only trigger notifies queued by the anim graph. Ignores global dispatch policy. |
| ForceMontageOnly | Override: Only trigger notifies queued by montages. Ignores global dispatch policy. |
| ForceAllSources | Override: Trigger notifies from all sources (anim graph/montages). Ignores global dispatch policy. |