new Cesium.SkyAtmosphere(ellipsoid)

环绕所提供椭圆形四肢的大气。 依据 Display of The Earth Taking Into Account Atmospheric Scattering.

这只在3D中支持. 变形到2D或哥伦布视图时,大气会逐渐消失.

Name Type Default Description
ellipsoid Ellipsoid Ellipsoid.WGS84 optional The ellipsoid that the atmosphere is drawn around.
Example:
scene.skyAtmosphere = new Cesium.SkyAtmosphere();
See:
  • Scene.skyAtmosphere

Members

atmosphereLightIntensity : number

用于计算天空大气颜色的光线强度.
Default Value: 50.0

atmosphereMieAnisotropy : number

介质的异同位素来考虑小米的散射.

有效值在-1.0至1.0之间.

Default Value: 0.9

atmosphereMieCoefficient : Cartesian3

大气散射方程中用于天空大气层的米埃散射系数.
Default Value: Cartesian3(21e-6, 21e-6, 21e-6)

atmosphereMieScaleHeight : number

大气散射方程中用于天空大气的米氏尺度高度,以米计.
Default Value: 3200.0

atmosphereRayleighCoefficient : Cartesian3

大气散射方程中用于天空大气的雷利散射系数.
Default Value: Cartesian3(5.5e-6, 13.0e-6, 28.4e-6)

atmosphereRayleighScaleHeight : number

大气散射方程中用于天空大气的Rayleigh比例高度,以米计.
Default Value: 10000.0

brightnessShift : number

亮度变化以适用于大气. 默认为 0.0( 无移位) . -1.0的亮度变化是完全的黑暗,它会让太空展现出来.
Default Value: 0.0

readonly ellipsoid : Ellipsoid

获得椭圆 周围的大气.

hueShift : number

气温变化适用于大气。 默认为 0.0( 无移位) . 变化为1.0表示可用色调的完全旋转.
Default Value: 0.0

perFragmentAtmosphere : boolean

计算大气的分层,而不是垂直. 这样可以产生更好的外观氛围,稍有表现处罚.
Default Value: false

saturationShift : number

饱和度变化适用于大气. 默认为 0.0( 无移位) . 饱和偏移-1.0为单色.
Default Value: 0.0

show : boolean

确定是否显示大气.
Default Value: true

Methods

destroy()

Destroys the WebGL resources held by this object. Destroying an object allows for deterministic 释放 WebGL 资源,而不是依赖垃圾收集器来摧毁此对象.

Once an object is destroyed, it should not be used; calling any function other than isDestroyed will result in a DeveloperError exception. Therefore, assign the return value (undefined) to the object as done in the example.
Throws:
  • DeveloperError : This object was destroyed, i.e., destroy() was called.
Example:
skyAtmosphere = skyAtmosphere && skyAtmosphere.destroy();
See:

isDestroyed()boolean

如果此对象被销毁, 返回真实; 否则, 错误 .

If this object was destroyed, it should not be used; calling any function other than isDestroyed will result in a DeveloperError exception.
Returns:
true if this object was destroyed; otherwise, false.
See:
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.