VisualizersCallback

typealias VisualizersCallback = (scene: Scene, entityCluster: EntityCluster, dataSource: DataSource) -> ReadonlyArray<Visualizer>(source)

A function which creates an array of visualizers used for visualization.

function createVisualizers(scene, entityCluster, dataSource) {
return [new BillboardVisualizer(entityCluster, dataSource.entities)];
}

Parameters

scene

The scene to create visualizers for.

entityCluster

The entity cluster to create visualizers for.

dataSource

The data source to create visualizers for.

See also