IEnvironmentModel
模型的属性配置
关系
Extends
IEnvironmentModel Extends IPluginModel
继承: IPluginModel
属性
props
模型的属性配置
props: IPluginModelProps
time
当前时间,场景中的时间设置,影响光照效果
time: string
类型: string
wetaher
当前天气,场景中的天气配置信息
wetaher: Weather
类型: Weather
方法
setWeather
设置天气效果
startLiveWeather
开启实时天气功能
startLiveWeather(): void
返回:void
updateLight
根据时间更新光照
updateLight(time): void
参数
- time:
string时间字符串,根据指定时间调整场景的光照效果
返回:void
updateShadow
修改阴影
updateShadow(value): void
参数
- value:
boolean
返回:void
updateSky
修改近地天空盒
updateSky(value): void
参数
- value:
boolean
返回:void
updateWeather
更新天气效果

BIMFlux AI
