跳转至

CFBD_BaseAnimation

Module: Animation Framework

Base animation state and configuration. More...

#include <animation.h>

Detailed Description

struct CFBD_BaseAnimation;

Base animation state and configuration.

This structure maintains the animation state including the number of frames and delay per frame. It is the core data structure for managing animation timing and progression.

Typical usage:

  1. Initialize with CFBD_InitBaseAnimation()
  2. Configure anim_frames and anim_frame_delay_ms as needed
  3. Use in conjunction with animation callbacks
  4. Query anim_frames to compute animation progress

Updated on 2026-02-03 at 13:21:55 +0000