ModelVisualizer

external class ModelVisualizer(scene: Scene, entityCollection: EntityCollection) : Visualizer(source)

A Visualizer which maps Entity.model to a Model.

Parameters

scene

The scene the primitives will be rendered in.

entityCollection

The entityCollection to visualize.

See also

Constructors

Link copied to clipboard
constructor(scene: Scene, entityCollection: EntityCollection)

Functions

Link copied to clipboard
open override fun destroy()

Removes and destroys all primitives created by this instance.

Link copied to clipboard
open override fun isDestroyed(): Boolean

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

Link copied to clipboard
open override fun update(time: JulianDate): Boolean

Updates models created this visualizer to match their Entity counterpart at the given time.