VizResponse

class VizResponse(val kind: VizResponseKind, val seconds: Float = 0.0f, val delaySeconds: Float = 0.0f)

The timing of one response: what shapes it, how long it takes, and any deliberate wait.

seconds is the rise constant of an envelope, the settle time of a spring, or the lifetime of spawned things. delaySeconds is a wait the drawing adds on purpose, such as holding a response for the next visual cycle. Every other response starts in the frame that carries the change.

Constructors

Link copied to clipboard
constructor(kind: VizResponseKind, seconds: Float = 0.0f, delaySeconds: Float = 0.0f)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String