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 onFinishRender
Defined in
- core/frontend/src/ViewManager.ts Line 188
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.