Cesium 记录一下 修改天空盒图片

var scene=viewer.scene;
scene.skyBox = new Cesium.SkyBox({
  sources : {
    positiveX : 'skybox_px.png',
    negativeX : 'skybox_nx.png',
    positiveY : 'skybox_py.png',
    negativeY : 'skybox_ny.png',
    positiveZ : 'skybox_pz.png',
    negativeZ : 'skybox_nz.png'
  }
});

猜你喜欢

转载自blog.csdn.net/qq_35158695/article/details/85232306