onBeginRender Readonly
onBeginRender: BeEvent<() => void> = ...
Called at the beginning of each tick of the render loop, before any viewports have been updated. The render loop is typically invoked by a requestAnimationFrame() callback. It will not be invoked if the ViewManager is tracking no viewports.
note Due to the frequency of this event, avoid performing expensive work inside event listeners.
see ViewManager.onFinishRender
Defined in
- core/frontend/src/ViewManager.ts Line 183
Last Updated: 20 June, 2023