Skip to content

AnimationStrip

Generated from engine/render/animation_strip.h at 862e08b. The text under each declaration is the header's own comment, word for word. About the reference says how these pages are made.

Browse the render module

#include "engine/render/animation_strip.h" · namespace labrador

AnimationStrip() = default;
AnimationStrip(const mattmath::RectangleI& first_frame,
int frame_count, float frame_time, bool looping);

frame_rect · frame_count · frame_time · looping

Section titled “frame_rect · frame_count · frame_time · looping”
const mattmath::RectangleI& frame_rect(int frame_index) const;
int frame_count() const;
float frame_time() const;
bool looping() const;

A RectangleI rather than a RECT*: see SpriteFrame::source_rectangle. By const reference rather than by value, into the strip's own cache. Throws std::out_of_range for a frame index this strip does not have.

Named in the public declarations above: RectangleI.

The files that include this header directly. A file can also reach it through another header.

Development documentation (unreleased). Built from Labrador 862e08b of 2026-10-08.