@JsType(isNative=true,
namespace="Cesium",
name="SkyBox")
public class SkyBox
extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
show
Determines if the sky box will be shown.
|
SkyBoxSources |
sources
The sources used to create the cube map faces: an object with positiveX, negativeX, positiveY, negativeY,
positiveZ, and negativeZ properties.
|
| Constructor and Description |
|---|
SkyBox() |
SkyBox(SkyBoxOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroys the WebGL resources held by this object.
|
boolean |
isDestroyed()
Returns true if this object was destroyed; otherwise, false.
|
void |
update()
Called when Viewer or CesiumWidget render the scene to get the draw commands needed to render this primitive.
|
public boolean show
public SkyBoxSources sources
@JsConstructor public SkyBox()
@JsConstructor public SkyBox(SkyBoxOptions options)
@JsMethod public void destroy()
isDestroyed()@JsMethod public boolean isDestroyed()
destroy()@JsMethod public void update()
Copyright © 2019. All rights reserved.