GeometryVisualizer

GeometryVisualizer

new

A general purpose visualizer for geometry represented by Primitive instances.

Parameters:
Name Type Description
type GeometryUpdater The updater to be used for creating the geometry.
scene Scene The scene the primitives will be rendered in.
dynamicObjectCollection DynamicObjectCollection The dynamicObjectCollection to visualize.
Source:

Methods

Removes and destroys all primitives created by this instance.

Returns true if this object was destroyed; otherwise, false.

Returns:
Boolean True if this object was destroyed; otherwise, false.

Updates all of the primitives created by this visualizer to match their DynamicObject counterpart at the given time.

Parameters:
Name Type Description
time JulianDate The time to update to.
Returns:
Boolean True if the visualizer successfully updated to the provided time, false if the visualizer is waiting for asynchronous primitives to be created.