Class: TrajectoryMotionObject

TrajectoryMotionObject


new TrajectoryMotionObject(options, _Dialog)

轨迹运动
Parameters:
Name Type Description
options object
Properties
Name Type Default Description
name string 名称
speed number 1 运行速度
delay number 0 运动延迟时间(毫秒)
loop boolean true 循环
height number 起始点高度
ground boolean false 贴地
state boolean true 模型运动
routeDirection boolean true 路径方向
viewFollow boolean false 视角跟随
line object 路径参数
Properties
Name Type Default Description
show boolean true 路径显隐
smooth boolean false 路径圆滑
noseToTail boolean false 路径收尾相联
positions Array.<object> 经纬度和高度的列表,值交替 [{lon,lat,alt},...]
_Dialog object 弹框事件
Properties
Name Type Description
confirmCallBack function 弹框确认时的回调