new AnimationController()

Members


isAnimatingLatLon :boolean

Description
Is latitude and longitude being animated?

isAnimatingAlt :boolean

Description
Is altitude being animated?

<package> currentLatLon :Array.<number>

Description
Current lat/lon animation position

<package> currentAlt :number

Description
Current altitude animation position

Methods


<package> register( ambientController, interactionController, movementModel )

Description
Registers ambient, animation, and movement controllers for use
Parameters
Name Type Description
ambientController AmbientController ambient controller
interactionController InteractionController interaction controller
movementModel MovementModel movement model

animateLatLonAlt( lat, lon, alt, options )

Description
Animate to a target latitude, longitude, and altitude.
Parameters
Name Type Description
lat number Latitude, in degrees.
lon number Longitude, in degrees.
alt number Altitude, in 3d space.
options AnimationControllerAnimationOptions

animateLatLon( lat, lon, options )

Description
Animate to a target latitude and longitude.
Parameters
Name Type Description
lat number Latitude, in degrees.
lon number Longitude, in degrees.
options AnimationControllerAnimationOptions

animateAlt( alt, options )

Description
Animate to a target altitude.
Parameters
Name Type Description
alt number Altitude, in 3d space.
options AnimationControllerAnimationOptions

cancelLatLonAlt()

Description
Cancels existing latitude, longitude, or altitude animations.

cancelLatLon()

Description
Cancels existing latitude and longitude animations.

cancelAlt()

Description
Cancels existing altitude animations.