Skip to content

KBE3D / KBCore / Cesium / BillboardVisualizer

类: BillboardVisualizer

A Visualizer which maps Entity#billboard to a Billboard.

参数

The entity cluster to manage the collection of billboards and optionally cluster with other entities.

参数

The entityCollection to visualize.

方法

update()

update(time: JulianDate): boolean

Updates 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

构造函数

构造函数

new BillboardVisualizer(entityCluster: EntityCluster, entityCollection: EntityCollection): BillboardVisualizer

参数

entityCluster

EntityCluster

entityCollection

EntityCollection

返回

BillboardVisualizer

KBE3D @3.0.0 Copyright © 2024-present KBE3D