GOAnimationRotate

new Cesium.GOAnimationRotate(options)

Dynamic plotting and rotating animation class
Name Type Description
options Object optional The object has the following properties:
Name Type Default Description
startTime Number 0 optional Animation start time, in seconds
duration Number 0 optional Animation duration, in seconds
name String "" optional Animation name, unique identification of animation
repeat Boolean false optional Repeat loop playback, default false
rotateDirection RotateDirection RotateDirection.ClockWise optional Rotation direction, clockwise by default
startAngle PlotPoint3D PlotPoint3D(0, 0, 0) optional Start angle, default is PlotPoint3D(0, 0, 0)
endAngle PlotPoint3D PlotPoint3D(0, 0, 0) optional End angle, default is PlotPoint3D(0, 0, 0)

Members

duration : Number

Animation duration, in seconds

endAngle : PlotPoint3D

The end angle of the animation (radians)

name : String

Animation name, unique identification of animation

repeat : Boolean

Repeat loop playback, default false

rotateDirection : Number

The rotation direction of the animation (clockwise, counterclockwise)

startAngle : PlotPoint3D

The starting angle of the animation (radians)

startTime : Number

Animation start time, in seconds

Methods

destroy()

Destroy objects and release resources.

getGOAnimationType()GOAnimationType

Get animation type
Returns:
Animation type

pause()

Pause animation

play()

Play animation

reset()

Reset animation

setAnimationName(name)Boolean

Set animation name
Name Type Description
name String Animation name
Returns:
Settings successful or not.

stop()

Stop animation