@JsType(isNative=true, namespace="Cesium", name="SkyAtmosphere") public class SkyAtmosphere extends Object
Modifier and Type | Field and Description |
---|---|
float |
brightnessShift
The brightness shift to apply to the atmosphere.
|
float |
hueShift
The hue shift to apply to the atmosphere.
|
float |
saturationShift
The saturation shift to apply to the atmosphere.
|
boolean |
show
Determines if the atmosphere is shown.
|
Constructor and Description |
---|
SkyAtmosphere()
An atmosphere drawn around the limb of the provided ellipsoid.
|
SkyAtmosphere(Ellipsoid ellipsoid)
An atmosphere drawn around the limb of the provided ellipsoid.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys the WebGL resources held by this object.
|
Ellipsoid |
ellipsoid()
Gets the ellipsoid the atmosphere is drawn around.
|
boolean |
isDestroyed()
Returns true if this object was destroyed; otherwise, false.
|
@JsProperty public float brightnessShift
@JsProperty public float hueShift
@JsProperty public float saturationShift
@JsProperty public boolean show
@JsConstructor public SkyAtmosphere()
Scene.skyAtmosphere
@JsConstructor public SkyAtmosphere(Ellipsoid ellipsoid)
ellipsoid
- The ellipsoid that the atmosphere is drawn around. Default: Ellipsoid.WGS84()
Scene.skyAtmosphere
@JsProperty(name="ellipsoid") public Ellipsoid ellipsoid()
@JsMethod public void destroy()
isDestroyed()
@JsMethod public boolean isDestroyed()
destroy()
Copyright © 2019. All rights reserved.