create MethodStatic

Create an animator to transition to the specified destination.

create(viewport: ScreenViewport, destination: GlobalLocation): Promise<undefined | GlobeAnimator>

@returns An animator, or undefined if the viewport's iModel is not geolocated or its view is not 3d.

Parameter Type Description
viewport ScreenViewport The viewport to animate.
destination GlobalLocation The destination to travel to.

Returns - Promise<undefined | GlobeAnimator>

An animator, or undefined if the viewport's iModel is not geolocated or its view is not 3d.

Defined in

Last Updated: 21 November, 2024