@JsType(isNative=true,
namespace="Cesium",
name="Moon")
public class Moon
extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
onlySunLighting
Use the sun as the only light source.
|
boolean |
show
Determines whether the moon will be rendered.
|
String |
textureUrl
The moon texture.
|
| Constructor and Description |
|---|
Moon()
Draws the Moon in 3D.
|
Moon(MoonOptions options)
Draws the Moon in 3D.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroys the WebGL resources held by this object.
|
Ellipsoid |
ellipsoid()
The moon ellipsoid.
|
boolean |
isDestroyed()
Returns true if this object was destroyed; otherwise, false.
|
@JsProperty public boolean show
@JsProperty public String textureUrl
@JsProperty public boolean onlySunLighting
@JsConstructor public Moon()
Scene.moon@JsConstructor public Moon(MoonOptions options)
options - Options.Scene.moon@JsProperty(name="ellipsoid") public Ellipsoid ellipsoid()
Ellipsoid.MOON()public void destroy()
isDestroyed()public boolean isDestroyed()
destroy()Copyright © 2019. All rights reserved.