GOAnimationRotate

Rotation animation(old) calss

new SuperMap3D.GOAnimationRotate(options)

Name Type Description
options Object optional Objects have 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, the unique identifier of the animation
repeat Boolean false optional Whether to repeat the loop play, the default is false
rotateDirection RotateDirection RotateDirection.ClockWise optional Rotation direction, the default is clockwise
startAngle MPoint3D MPoint3D(0, 0, 0) optional Start angle, default is Cartesian3 (0, 0, 0)
endAngle MPoint3D MPoint3D(0, 0, 0) optional End angle, defaults to Cartesian3 (0, 0, 0)

Members

endAngle : MPoint3D

The end angle of the animation (in radians)

rotateDirection : Number

The direction of rotation for the animation (clockwise, counterclockwise)

startAngle : MPoint3D

The starting angle of the animation (in radians)

Methods

getGOAnimationType()GOAnimationType

Get animation type
Returns:
Animation type