Skip to content

Documentation / @ripl/core / RendererEventMap

Interface: RendererEventMap ​

Defined in: packages/core/src/core/renderer.ts:61

Event map for the renderer, with start, stop, and per-frame tick events.

Extends ​

Indexable ​

[key: string]: unknown

Properties ​

PropertyTypeDescriptionInherited fromDefined in
destroyednullEmitted when the event bus is destroyed; carries no payload.EventMap.destroyedpackages/core/src/core/event-bus.ts:21
startobjectEmitted when the animation loop starts.-packages/core/src/core/renderer.ts:63
start.startTimenumberTimestamp at which the loop started, in milliseconds.-packages/core/src/core/renderer.ts:65
stopobjectEmitted when the animation loop stops.-packages/core/src/core/renderer.ts:68
stop.endTimenumberTimestamp at which the loop stopped, in milliseconds.-packages/core/src/core/renderer.ts:72
stop.startTimenumberTimestamp at which the loop originally started, in milliseconds.-packages/core/src/core/renderer.ts:70
tickobjectEmitted once per animation frame.-packages/core/src/core/renderer.ts:75
tick.deltaTimenumberElapsed time since the previous frame, in milliseconds.-packages/core/src/core/renderer.ts:79
tick.timenumberTimestamp of the current frame, in milliseconds.-packages/core/src/core/renderer.ts:77