← back to roto on ba3a.dev

ArtProgress

sealed interface ArtProgress

How far a clip's handoff has come. Only a finished clip can be published.

Inheritors

Types

Link copied to clipboard
object Companion

Reading a clip's progress from its handoff.

Link copied to clipboard
data object NoHandoff : ArtProgress

Nothing has been rendered for the clip yet.

Link copied to clipboard
data class Painted(val painted: Int, val total: Int) : ArtProgress

The handoff holds art on painted of its total frames.

Link copied to clipboard
data class Unreadable(val reason: String) : ArtProgress

The handoff is there but cannot be read, for this reason.

Properties

Link copied to clipboard
open val finished: Boolean

Whether every frame holds art, so the clip can be published.