Skip to content

KBE3D / KBCore / Cesium / PathVisualizer

类: PathVisualizer

A Visualizer which maps Entity#path to a Polyline.

参数

The scene the primitives will be rendered in.

参数

The entityCollection to visualize.

构造函数

构造函数

new PathVisualizer(scene: Scene, entityCollection: EntityCollection): PathVisualizer

参数

scene

Scene

entityCollection

EntityCollection

返回

PathVisualizer

方法

update()

update(time: JulianDate): boolean

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

参数

time

JulianDate

The time to update to.

返回

boolean

This function always returns true.


isDestroyed()

isDestroyed(): boolean

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

返回

boolean

True if this object was destroyed; otherwise, false.


destroy()

destroy(): void

Removes and destroys all primitives created by this instance.

返回

void

KBE3D @3.0.6 Copyright © 2024-present @沉淀.