← back to roto on ba3a.dev

Flipbook

class Flipbook(val frames: List<FlipbookFrame>, val loop: Boolean)

A clip's frames as the player shows them: per frame the art where painted, else the draft, else the reference. Cel opacity is ignored, so a reference shows at full strength.

Constructors

Link copied to clipboard
constructor(frames: List<FlipbookFrame>, loop: Boolean)

Types

Link copied to clipboard
object Companion

Builds flipbooks from handoffs.

Properties

Link copied to clipboard

The duration of every frame, in order.

Link copied to clipboard

the frames in order

Link copied to clipboard

whether the clip plays again from its first frame after its last

Functions

Link copied to clipboard
fun retimed(retime: Retime): Flipbook

This flipbook as retime would publish it: the frames it keeps, in order, each for its scaled duration. A kept index beyond the frames fails with an IllegalArgumentException naming it.