new DynamicModelVisualizer
A Visualizer which maps DynamicObject#model to a Model.
Parameters:
Name | Type | Description |
---|---|---|
scene |
Scene | The scene the primitives will be rendered in. |
dynamicObjectCollection |
DynamicObjectCollection | The dynamicObjectCollection to visualize. |
Source:
Methods
-
destroy
-
Removes and destroys all primitives created by this instance.
-
isDestroyed
-
Returns true if this object was destroyed; otherwise, false.
Returns:
Boolean True if this object was destroyed; otherwise, false. -
update
-
Updates models created this visualizer to match their DynamicObject counterpart at the given time.
Parameters:
Name Type Description time
JulianDate The time to update to. Returns:
Boolean This function always returns true.