Skip to main content

Module playback_controller

Module playback_controller 

Source

Structs§

PlaybackController

Enums§

PlaybackDirection
PlaybackStyle

Functions§

resolve_frame
Pure, deterministic mapping from “frames elapsed since playback started” (diff, with per-instance speed already applied) to the resolved playback frame within the inclusive [start, end] range, applying loop count and playback style / direction. Matches SpriteStudio 6 SDK’s SsAnimeDecoder::updateInstance semantics, including the inclusive inst_scale = (end - start) + 1 cycle length and the duplicated peak / trough frames at PingPong reversal boundaries.