ViewChangeOptions Interface

Options that control how operations that change a viewport behave.

Extends

Inherited methods

Name Inherited from Description
animationFinishedCallback(didComplete: boolean): void Optional ViewAnimationOptions Invoked when the animator is finished.

Properties

Name Type Description
animateFrustumChange boolean | undefined Whether the change should be animated or not.  
globalAlignment GlobalAlignmentOptions | undefined If defined the controls how the view will be aligned with the globe  
noSaveInUndo boolean | undefined Whether to save the result of this change into the view undo stack.  

Inherited properties

Name Type Inherited from Description
animationTime number | undefined ViewAnimationOptions Amount of time for animation, in milliseconds.
cancelOnAbort boolean | undefined ViewAnimationOptions if animation is aborted, don't move to end, leave at current point instead.
easingFunction EasingFunction | undefined ViewAnimationOptions easing function for animation.
onExtentsError (status: ViewStatus) => ViewStatus | undefined OnViewExtentsError Function to be called when the extents are adjusted due to a limits error (view too larger or too small)

Defined in

Last Updated: 17 May, 2024