onViewChanged Readonly

onViewChanged: BeEvent<(vp: Viewport) => void> = ...

Event called whenever this viewport is synchronized with its ViewState.

@note This event is invoked very frequently. To avoid negatively impacting performance, consider using one of the more specific Viewport events; otherwise, avoid performing excessive computations in response to this event.

@see - Viewport.onViewportChanged for receiving events at more regular intervals with more specific information about what changed.

Defined in

Last Updated: 16 April, 2024