Atmospheric effects around the edges of the sphere. based on
Accurate Atmospheric Scattering
show.
Only supported in 3D scenes, when changing to 2D scenes, the atmosphere will fade out
Name | Type | Default | Description |
---|---|---|---|
ellipsoid |
Ellipsoid |
Ellipsoid.WGS84
|
optional An ellipsoid surrounding the atmosphere. |
- Scene.skyAtmosphere
Example:
scene.skyAtmosphere = new SuperMap3D.SkyAtmosphere();
See:
Members
-
Atmospheric brightness variation Default value is 0.0. -1 means all black.
-
Default Value:
0.0
-
readonlyellipsoid : Ellipsoid
-
Get the sphere surrounded by the atmosphere
-
Adjusts the tone of the atmosphere. The default value is 0.0 . 1.0 means the exact opposite hue.
-
Default Value:
0.0
-
Adjusts the saturation of the atmosphere. The default value is 0.0 -1.0 means monochrome.
-
Default Value:
0.0
-
Determines whether to enable atmosphere.
-
Default Value:
true
Methods
-
Destroys the WebGL resource for this object.
Once destroyed, it cannot be used. Calling any function other thanisDestroyed
will result in aDeveloperError
exception.Returns:
Throws:
-
DeveloperError : The object is destroyed by calling destroy()
Example:
skyAtmosphere = skyAtmosphere && skyAtmosphere.destroy();
See:
-
-
Returns true if the object is destroyed, false otherwise.
Should not be used if the object is destroyed, calling any function other thanisDestroyed
will result in aDeveloperError
exception.Returns:
true
if the object was destroyed,false
otherwise.