GOAnimationAttribute

new Cesium.GOAnimationAttribute(options)

Dynamic plotting attribute 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 Loop playback, default false
lineColorAnimation Boolean false optional Thread color animation is valid or not, default false
startLineColor Color "#FF0000" optional Start thread color
endLineColor Color "#0000FF" optional End thread color.
lineWidthAnimation Boolean false optional Line width animation is valid or not, default false
startLineWidth Number 0.0 optional Start line width, default is 0.0
endLineWidth Number 5.0 optional End line width, the default is 5.0
surroundLineColorAnimation Boolean false optional Serif animation is valid or not, default false
startSurroundLineColor Color "#FF0000" optional Start serif color
endSurroundLineColor Color "#0000FF" optional End serif color
surroundLineWidthAnimation Boolean false optional Serif line width animation is valid or not, default false
startSurroundLineWidth Number 0 optional Start serif width, default is 0
endtSurroundLineWidth Number 1 optional End serif width, default is 1

Members

duration : Number

Animation duration, in seconds

endLineColor : Color

End thread color
Default Value: Color.Blue

endLineWidth : Number

End line width
Default Value: 5

endSurroundLineColor : Color

Serif end thread color
Default Value: Color.Blue

endSurroundLineWidth : Number

Serif end line width
Default Value: 1.0

lineColorAnimation : Boolean

Thread color animation is valid
Default Value: false

lineWidthAnimation : Boolean

Line width animation is valid
Default Value: false

name : String

Animation name, unique identification of animation

repeat : Boolean

Loop playback, default false

startLineColor : Color

Start thread color
Default Value: Color.Red

startLineWidth : Number

Start line width
Default Value: 0

startSurroundLineColor : Color

Serif start thread color
Default Value: Color.Blue

startSurroundLineWidth : Number

Serif start line width
Default Value: 0

startTime : Number

Animation start time, in seconds

surroundLineColorAnimation : Boolean

Is the serif animation valid?
Default Value: false

surroundLineWidthAnimation : Boolean

Serif line width animation is valid
Default Value: false

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