Sun

绘制太阳广告牌。

这仅在 3D 和 Columbus 视图中受支持。

Example:
scene.sun = new Cesium.Sun();
See:

Members

glowFactor : number

获取或设置一个数字,该数字控制太阳镜头光晕的“亮度”显示 将要成为。 Zero 只显示太阳的圆盘,没有任何耀斑。 使用较大的值可获得更明显的太阳周围耀斑。
Default Value: 1.0
确定是否显示太阳。
Default Value: true

Methods

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

一旦对象被销毁,就不应该使用它;调用 isDestroyed 将导致 DeveloperError 异常。 因此 将返回值 (undefined) 分配给对象,如示例中所示。
Throws:
Example:
sun = sun && sun.destroy();

 
See:

isDestroyed()boolean

如果此对象已销毁,则返回 true;否则为 false。

如果此对象已销毁,则不应使用;调用 isDestroyed 将导致 DeveloperError 异常。
Returns:
true,如果此对象被销毁;否则为 false
See:
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.