Appearance
dayNightConvert ?
DayNightConvert ?
Kind: global class
new DayNightConvert(viewer, opts) ?
多種場(chǎng)景風(fēng)格之間互相平滑轉(zhuǎn)換
| Param | Type | Description |
|---|---|---|
| viewer | Viewer | 場(chǎng)景類 |
| opts | object | 參數(shù) |
dayNightConvert.changeDay(isDay, time, callback) ?
動(dòng)畫開啟
Kind: instance method of DayNightConvert
| Param | Type | Description |
|---|---|---|
| isDay | boolean | 是否白天 |
| time | number | 動(dòng)畫時(shí)長(zhǎng) |
| callback | function | 動(dòng)畫時(shí)長(zhǎng) |