ProcessOptions
Defined in: Process.ts:41
Options for creating a Process.
Properties
Section titled “Properties”duration?
Section titled “duration?”
optionalduration?:number
Defined in: Process.ts:48
Auto-complete after this duration in seconds.
optionalloop?:boolean
Defined in: Process.ts:50
Loop the process.
onComplete?
Section titled “onComplete?”
optionalonComplete?: () =>void
Defined in: Process.ts:46
Called when the process completes.
Returns
Section titled “Returns”void
optionaltags?:string[]
Defined in: Process.ts:52
Tags for process filtering.
update?
Section titled “update?”
optionalupdate?: (dt,elapsed) =>boolean|void
Defined in: Process.ts:44
Called each frame with dt (seconds) and elapsed (seconds). Return true to complete early.
Parameters
Section titled “Parameters”number
elapsed
Section titled “elapsed”number
Returns
Section titled “Returns”boolean | void