class

CMiriAnimationManager

Ticks every active curve sequence once per frame

Module
Miri
Header
#include "Miri/Animation/CMiriAnimationManager.h"
Namespace
Miri

Properties

TypeNameDescription
static constexpr floatkReducedMotionStepThe step a one-shot sequence takes under reduced motion: longer than any transition, so it clamps to the end in one tick. Default 1.0e6f.

Public functions

ReturnsNameDescription
CMiriAnimationManager&GetOut of line: a function-local static in a header gets one instance per DLL that includes it, so a widget registered from an exe would sit in a manager the window manager inside Miri never ticks.
voidRegisterAuto-unregistered when the sequence completes, unless it loops
voidUnregister
voidTick
size_tGetActiveCount

Function details

Get

C++
static CMiriAnimationManager& Get()

Out of line: a function-local static in a header gets one instance per DLL that includes it, so a widget registered from an exe would sit in a manager the window manager inside Miri never ticks.

Register

C++
void Register(CCurveSequence* sequence)

Auto-unregistered when the sequence completes, unless it loops

Unregister

C++
void Unregister(CCurveSequence* sequence)

Tick

C++
void Tick(float deltaTime)

GetActiveCount

C++
size_t GetActiveCount() const
Generated from Miri/Animation/CMiriAnimationManager.h via miri.json · Dec 5, 2026Version 1.1.0