Skip to content

ProcessOptions

Defined in: Process.ts:41

Options for creating a Process.

optional duration?: number

Defined in: Process.ts:48

Auto-complete after this duration in seconds.


optional loop?: boolean

Defined in: Process.ts:50

Loop the process.


optional onComplete?: () => void

Defined in: Process.ts:46

Called when the process completes.

void


optional tags?: string[]

Defined in: Process.ts:52

Tags for process filtering.


optional update?: (dt, elapsed) => boolean | void

Defined in: Process.ts:44

Called each frame with dt (seconds) and elapsed (seconds). Return true to complete early.

number

number

boolean | void