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

AliasDescription
using Handler = std::function<void(const FFiredAnimNotify&)>

Public functions

ReturnsNameDescription
voidSetHandler
boolHasHandler
voidClearHandler
voidSetObserverSees every fired notify regardless of kind — the editor timeline and tests hook here.
voidClearObserver
voidClearAll
boolFireRoute 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