class
FAnimNotifyDispatcher
Process-wide, data-driven notify dispatch. AnimationSystem fires every clip notify through here; the engine installs one handler per kind (sound, particle, Visual Scripting) and the editor / tests can add an observer that sees them all. Because the mapping from data to action lives in the installed handlers, authoring a notify needs no code — only the data on the clip.
- Module
- Animation
- Header
#include "Animation/AnimNotify.h"- Namespace
Mowo
Type aliases
| Alias | Description |
|---|---|
using Handler = std::function<void(const FFiredAnimNotify&)> |
Public functions
| Returns | Name | Description |
|---|---|---|
void | SetHandler | |
bool | HasHandler | |
void | ClearHandler | |
void | SetObserver | Sees every fired notify regardless of kind — the editor timeline and tests hook here. |
void | ClearObserver | |
void | ClearAll | |
bool | Fire | Route a fired notify to its kind handler and the observer. |
Function details
SetHandler
C++
static void SetHandler(AnimNotifyKind kind, Handler handler)HasHandler
C++
static bool HasHandler(AnimNotifyKind kind)ClearHandler
C++
static void ClearHandler(AnimNotifyKind kind)SetObserver
C++
static void SetObserver(Handler observer)Sees every fired notify regardless of kind — the editor timeline and tests hook here. Runs after the per-kind handler.
ClearObserver
C++
static void ClearObserver()ClearAll
C++
static void ClearAll()Fire
C++
static bool Fire(const FFiredAnimNotify& notify)Route a fired notify to its kind handler and the observer. Returns true when a per-kind handler ran; a kind with no handler is a silent no-op so the authored data survives even when its action is not wired up.
Generated from Animation/AnimNotify.h via animation.json · Oct 26, 2026Version 1.0.0