HazardSchedule

A value shape that methods take or return.

Group
scene
Methods
None
Fields
6

Fields

FieldTypeDescription
kind"always" | "window" | "pattern" | "frames"Which schedule.
fromnumber?window: first live tick.
tonumber?window: last live tick.
anchornumber?pattern and frames: the absolute tick that maps to index 1.
active{ boolean }?pattern: one flag per phase.
frames{ HazardRect | HazardPoint | false }?frames: one footprint per phase, as { min, max } or a bare point. Write false for a phase the hazard covers nothing: nil would end…

Field details

frames

frames: { HazardRect | HazardPoint | false }?

frames: one footprint per phase, as { min, max } or a bare point. Write false for a phase the hazard covers nothing: nil would end the array.