Visualizes a collection of
DataSource instances.
| Name | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
下列属性的对象 :
|
Members
dataSources : DataSourceCollection
获取要显示的数据收集源.
defaultDataSource : CustomDataSource
获取默认数据源实例,用于
手动创建和可视化未绑定的实体
特定数据源。 这个例子总是有的
并且不出现在列表中的数据来源集.
获得一个显示数据源中所有实体是否准备好的值
scene : Scene
获取与此显示相关的场景 .
Methods
获取或设置默认函数,创建用于可视化的一组可视化器.
默认情况下,此函数使用所有标准可视化器.
Destroys the WebGL resources held by this object. Destroying an object allows for deterministic
释放 WebGL 资源,而不是依赖垃圾收集器来摧毁此对象.
Once an object is destroyed, it should not be used; calling any function other than
Once an object is destroyed, it should not be used; calling any function other than
isDestroyed will result in a DeveloperError exception. Therefore,
assign the return value (undefined) to the object as done in the example.
Throws:
-
DeveloperError : This object was destroyed, i.e., destroy() was called.
Example:
dataSourceDisplay = dataSourceDisplay.destroy();
See:
如果此对象被销毁, 返回真实; 否则, 错误 .
If this object was destroyed, it should not be used; calling any function other than
If this object was destroyed, it should not be used; calling any function other than
isDestroyed will result in a DeveloperError exception.
Returns:
如果此天体被销毁, 则属真; 否则, 属假 .
将显示更新到所提供时间.
| Name | Type | Description |
|---|---|---|
time |
JulianDate | 模拟时间. |
Returns:
如果所有数据源都准备好显示,则不正确.
Type Definitions
Cesium.DataSourceDisplay.VisualizersCallback(scene, entityCluster, dataSource) → Array.<Visualizer>
创建用于可视化的一系列可视化器的函数.
| Name | Type | Description |
|---|---|---|
scene |
Scene | 创造视觉器的场景. |
entityCluster |
EntityCluster | 创建可视化器的实体集群 . |
dataSource |
DataSource | 创建可视化器的数据源 . |
Returns:
一组用于可视化的可视化器.
Example:
function createVisualizers(scene, entityCluster, dataSource) {
return [new Cesium.BillboardVisualizer(entityCluster, dataSource.entities)];
}