Appearance
dayNightConvert
DayNightConvert
Kind: global class
new DayNightConvert(viewer, opts)
多种场景风格之间互相平滑转换
Param | Type | Description |
---|---|---|
viewer | Viewer | 场景类 |
opts | object | 参数 |
dayNightConvert.changeDay(isDay, time, callback)
动画开启
Kind: instance method of DayNightConvert
Param | Type | Description |
---|---|---|
isDay | boolean | 是否白天 |
time | number | 动画时长 |
callback | function | 动画时长 |