ApiSkybox

ApiSkybox

Api 天空盒方法类

Constructor

new ApiSkybox(options)

Parameters:
Name Type Description
options object

配置参数

Classes

ApiSkybox

Members

(static) 显示/隐藏天空盒

Example
renderViewer.ws.api.skybox.toggleSkyBox(true)

(static) 切换天空盒

Example
renderViewer.ws.api.skybox.changeSkyBox({"id":"5513","type":"hdr","classify":"全景天空盒","parentClassify":"天空盒","downloadPath":".../v1/download?fileId=group1/M00/01/9D/rBDJPmDUJLGAbIgZAFsQZm1Ut-M555.hdr"})

(static) 天空盒角度设置

Example
renderViewer.ws.api.skybox.changeOrientation(180)

(static) 打开/关闭高级天空盒

Example
renderViewer.ws.api.skybox.toggleAdvanceSkyBox(true)

(static) 高级天空盒云层形状设置

Example
renderViewer.ws.api.skybox.changeCloudShape(1)

(static) 高级天空盒云层密度设置

Example
renderViewer.ws.api.skybox.changeCloudDensity(85)

(static) 光照模拟设置

Example
renderViewer.ws.api.skybox.changeSunLight(9, 30)