LoadFlyAround

new Cesium.LoadFlyAround(viewer, options)

绕点飞行控制
Name Type Description
viewer Object optional 场景对象
options Object optional 设置飞行参数:
Name Type Default Description
position Cartesian3 optional 绕点飞行的点,世界坐标,不可为空,const po=Cesium.Cartesian3.fromDegrees(116.30,33.54,500.00);
distance Number 200.0 optional 设置相机绕点半径,仅当fixCamera为false有效
time Number 5.0 optional 设置绕圈周期,单位为秒,默认5秒旋转一周
fixCamera Boolean true optional 是否锁定相机,true则四周飞行,false为绕点飞行

Members

相机与视点距离
是否锁定相机,
绕点飞行,仅当fixCamera设置为false有效,
设置周期

Methods

开始飞行
结束飞行
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.