PathVisualizer

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

A Visualizer which maps Entity.path to a Polyline.

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 all of the primitives created by this visualizer to match their Entity counterpart at the given time.