Skip to content

KBE3D / KBCore / Cesium / ModelVisualizer

类: ModelVisualizer

A Visualizer which maps Entity#model to a Model.

参数

The scene the primitives will be rendered in.

参数

The entityCollection to visualize.

方法

update()

update(time: JulianDate): boolean

Updates models created 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 ModelVisualizer(scene: Scene, entityCollection: EntityCollection): ModelVisualizer

参数

scene

Scene

entityCollection

EntityCollection

返回

ModelVisualizer

KBE3D @3.0.0 Copyright © 2024-present KBE3D