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
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.