SettingOptions

SettingOptions

场景设置

Constructor

new SettingOptions()

Methods

getOption(name)

得到场景单个参数

Parameters:
Name Type Description
name String

getSceneConfig() → {json}

得到场景配置信息

Returns:
Type
json

(async) setBaseImagery(config)

设置地表影像

Parameters:
Name Type Description
config object

地表单个影像的配置

setBaseImageryVisible(visible)

设置地表影像的可见性

Parameters:
Name Type Description
visible boolean

setBaseTerrain(config)

设置地表地形

Parameters:
Name Type Description
config object

地表单个地形的配置

setOption(name, value)

设置场景单个参数

Parameters:
Name Type Description
name String

选项名称

value String | Boolean | Object

选项值

setSceneConfig(config)

设置场景配置信息

Parameters:
Name Type Description
config json