connectViewports MethodProtected

Invoked from TwoWayViewportSync.connect to set up the initial synchronization between the two viewports. target should be modified to match source. The default implementation applies a clone of source's ViewState to target.

connectViewports(source: Viewport, target: Viewport): void

@see TwoWayViewportSync.syncViewports to customize subsequent synchronization.

Parameter Type Description
source Viewport  
target Viewport  

Returns - void

Defined in

Last Updated: 16 April, 2024