环绕所提供的椭球体边缘的大气。
基于Accurate Atmospheric Scattering的GPU Gems 2。
仅支持3D模式。
Name | Type | Default | Description |
---|---|---|---|
ellipsoid |
Ellipsoid |
Ellipsoid.WGS84
|
optional 大气所围绕的椭球面。 |
- Scene.skyAtmosphere
Example:
scene.skyAtmosphere = new Cesium.SkyAtmosphere();
Demo:
See:
Members
大气的亮度变化(-1.0-1.0)
-
Default Value:
0.0
readonlyellipsoid : Ellipsoid
获取椭球。
大气的色调变化(-1.0.0-1.0)
-
Default Value:
0.0
大气的饱和度变化(-1.0-1.0)
-
Default Value:
0.0
是否显示大气。
-
Default Value:
true
Methods
销毁此对象持有的WebGL资源。
一旦对象被销毁,它将不能在使用;调用除
一旦对象被销毁,它将不能在使用;调用除
isDestroyed
之外的任何函数都会导致DeveloperError
异常。
因此,将返回值(undefined
)赋给对象,如示例所示。
Throws:
-
DeveloperError : 对象已经被销毁。
Example:
skyAtmosphere = skyAtmosphere && skyAtmosphere.destroy();
See:
Returns:
false