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
|
showPath |
Boolean
|
false
|
optional
Whether to display the path, the default is false
|
tangentDirection |
Boolean
|
false
|
optional
Whether in the tangent direction, the default is false
|
pathWidth |
Number
|
0.5
|
optional
Path line width, default is 0.5
|
pathColor |
Color
|
Color.RED
|
optional
Path line color, the default is red
|
pathType |
WayPathType
|
WayPathType.POLYLINE
|
optional
Path type, the default is WayPathType.POLYLINE
|
wayPoints |
Array
|
[]
|
optional
Array of path points, default to []
|