create MethodStatic

Create an animator to transition to the specified destination.

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

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: 11 June, 2024