← back to roto on ba3a.dev

LintContext

class LintContext(val palette: Palette, val ramps: RampSet, val outline: Boolean, val depth: DepthSettings, val loop: Boolean = false, val model: ModelReference? = null, val clipDurationsMs: List<Int> = emptyList(), val settings: LintSettings = LintSettings())

What a rule may need besides the frames.

Constructors

Link copied to clipboard
constructor(palette: Palette, ramps: RampSet, outline: Boolean, depth: DepthSettings, loop: Boolean = false, model: ModelReference? = null, clipDurationsMs: List<Int> = emptyList(), settings: LintSettings = LintSettings())

Properties

Link copied to clipboard

the duration of every frame of the clip's handoff, painted or not; empty when unknown, which leaves the frame count and duration total unchecked

Link copied to clipboard

whether the clip follows depth

Link copied to clipboard

whether the clip loops, so its last frame is followed by its first

Link copied to clipboard

the clip's model, when it has one

Link copied to clipboard

whether the clip's draft is outlined

Link copied to clipboard

the project's palette

Link copied to clipboard

the project's ramps

Link copied to clipboard

the rules' thresholds