Appearance
backGround ?
BackGround ?
new BackGround(viewer, opts) ?
場景背景業(yè)務(wù)類
| Param | Type | Description |
|---|---|---|
| viewer | Viewer | 場景類 |
| opts | object | 參數(shù) |
| opts.type | string | 場景背景類型 skybox,image,color,noBackground |
| opts.skyType | string | 天空盒類型 sphere,dynamic,cube |
| opts.texture | string | 圖片路徑 |
| opts.color | string | 背景顏色 |
| opts.position | Array | 天空坐標(biāo)數(shù)組 |
| opts.rotation | Array | 天空旋轉(zhuǎn)坐標(biāo)數(shù)組 |
| opts.radius | number | 天空盒半徑 |