SceneViewEnvironment
大气效果启用状态
关系
Extends
SceneViewEnvironment Extends AnonymousAccessor
属性
atmosphereEnabled
大气效果启用状态
atmosphereEnabled: boolean
类型: boolean
starsEnabled
星空效果启用状态
starsEnabled: boolean
类型: boolean
weatherAvailable
天气效果可用性(只读)
weatherAvailable: boolean
类型: boolean
访问器
background
获取场景背景对象
get background(): Background
返回: Background 获取场景背景对象
设置场景背景配置
lighting
获取当前光照对象
get lighting(): SunLighting | VirtualLighting
返回: SunLighting | VirtualLighting 获取当前光照对象
设置光照配置
set lighting(value: SunLightingProperties & object | VirtualLightingProperties & object): void
参数
- value:
SunLightingProperties&object|VirtualLightingProperties&object
返回: void
weather
获取当前天气效果对象
get weather(): CloudyWeather | FoggyWeather | RainyWeather | SnowyWeather | SunnyWeather
返回: CloudyWeather | FoggyWeather | RainyWeather | SnowyWeather | SunnyWeather 获取当前天气效果对象
设置天气效果配置
set weather(value: SunnyWeatherProperties & object | CloudyWeatherProperties & object | RainyWeatherProperties & object | SnowyWeatherProperties & object | FoggyWeatherProperties & object): void
参数
- value:
SunnyWeatherProperties&object|CloudyWeatherProperties&object|RainyWeatherProperties&object|SnowyWeatherProperties&object|FoggyWeatherProperties&object
返回: void
方法

BIMFlux AI
