Class: ModelVisualizer

ModelVisualizer

new ModelVisualizer(scene, entityCollection)

A Visualizer which maps Entity#model to a Model.
Parameters:
Name Type Description
scene Scene The scene the primitives will be rendered in.
entityCollection EntityCollection The entityCollection to visualize.
Source:

Methods

destroy()

Removes and destroys all primitives created by this instance.
Source:

isDestroyed() → {Boolean}

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

update(time) → {Boolean}

Updates models created this visualizer to match their Entity counterpart at the given time.
Parameters:
Name Type Description
time JulianDate The time to update to.
Source:
Returns:
This function always returns true.
Type
Boolean