Skip to content

KBE3D / KBCore / Cesium / PolylineVisualizer

类: PolylineVisualizer

A visualizer for polylines represented by Primitive instances.

参数

The scene the primitives will be rendered in.

参数

The entityCollection to visualize.

参数

A collection to add primitives related to the entities

参数

A collection to add ground primitives related to the entities

方法

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

True if the visualizer successfully updated to the provided time, false if the visualizer is waiting for asynchronous primitives to be created.


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

构造函数

构造函数

new PolylineVisualizer(scene: Scene, entityCollection: EntityCollection, primitives?: PrimitiveCollection, groundPrimitives?: PrimitiveCollection): PolylineVisualizer

参数

scene

Scene

entityCollection

EntityCollection

primitives?

PrimitiveCollection

groundPrimitives?

PrimitiveCollection

返回

PolylineVisualizer

KBE3D @3.0.0 Copyright © 2024-present KBE3D