Animation is an interface to handle animations through a Globe.
Mizar is able to create different types of animation on a globe :
Mizar is able to create different types of animation on a globe :
- InertiaAnimation : Animation simulating inertia for camera navigation
- InterpolatedAnimation : Generic animation to interpolate arbitrary values
- PathAnimation : Animation defined with a path
- SegmentedAnimation : Animation defined with segments
Methods
-
getRenderContext()
-
Returns the rendering context.
Returns:
the rendering context- Type
- RenderContext | null
-
getStatus()
-
Returns the status of the animation.
Returns:
- Type
- ANIMATION_STATUS
-
start()
-
Starts the animation, records the start time in startTime member and registers the animation.
-
pause()
-
Pauses the animation.
-
stop()
-
Stops the animation and unregisters the animation.#