OrbPro2 a Cesium distribution

SensorVisualizer

new Cesium.SensorVisualizer(scene, entityCollection)

A Visualizer which maps sensor Graphics to Sensor instances. Supports ConicSensorGraphics, RectangularSensorGraphics, and CustomSensorGraphics.
Name Type Description
scene Scene The scene the primitives will be rendered in.
entityCollection EntityCollection The entityCollection to visualize.

Methods

Removes and destroys all primitives created by this instance.
Gets the unified Sensor created for the specified entity. The sensor is owned by this visualizer and must not be destroyed by the caller. It is undefined until SensorVisualizer#update creates the sensor, after the entity is removed, or while a compatible conic sensor is rendered by the instanced batch. A later update can replace or destroy the returned sensor when the entity's visualization changes.
Name Type Description
entity Entity The entity whose sensor to retrieve.
Returns:
The entity's current unified sensor, or undefined when the entity does not currently have an individual sensor.
Returns true if this object was destroyed; otherwise, false.
Returns:
True if this object was destroyed; otherwise, false.
Updates the primitives created by this visualizer to match their Entity counterpart at the given time.
Name Type Description
time JulianDate The time to update to.
Returns:
This function always returns true.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.