【发布时间】:2021-09-09 15:45:07
【问题描述】:
我想更改天空的背景图像,提供自定义图像但它没有改变
var scene = viewer.scene;
scene.skyBox = new Cesium.SkyBox({
sources : {
positiveX : 'images/galaxy.jpg',
negativeX : 'images/galaxy.jpg',
positiveY : 'images/galaxy.jpg',
negativeY : 'images/galaxy.jpg',
positiveZ : 'images/galaxy.jpg',
negativeZ : 'images/galaxy.jpg',
}
});
在本地系统中我已经给出了这些路径,但在沙堡演示中我没有添加图像。
任何建议,谢谢
【问题讨论】:
标签: javascript cesium