Header menu logo Mibo

Animation Type

A single animation with pre-computed frame rectangles.

This struct is designed for cache-friendly access during the hot path. Users can construct these from any source format.

Record fields

Record Field Description

FrameDuration

Full Usage: FrameDuration

Field type: float32

Duration of each frame in seconds (1/fps).

Field type: float32

Frames

Full Usage: Frames

Field type: Rectangle[]

Pre-computed source rectangles for each frame.

Field type: Rectangle[]

Loop

Full Usage: Loop

Field type: bool

Does this animation loop?

Field type: bool

Type something to start searching.