Skip to content

KBE3D / KBCore / Cesium / BoxGeometryUpdater

类: BoxGeometryUpdater

A GeometryUpdater for boxes. Clients do not normally create this class directly, but instead rely on DataSourceDisplay.

参数

The entity containing the geometry to be visualized.

参数

The scene where visualization is taking place.

方法

createFillGeometryInstance()

createFillGeometryInstance(time: JulianDate): GeometryInstance

Creates the geometry instance which represents the fill of the geometry.

参数

time

JulianDate

The time to use when retrieving initial attribute values.

返回

GeometryInstance

The geometry instance representing the filled portion of the geometry.


createOutlineGeometryInstance()

createOutlineGeometryInstance(time: JulianDate): GeometryInstance

Creates the geometry instance which represents the outline of the geometry.

参数

time

JulianDate

The time to use when retrieving initial attribute values.

返回

GeometryInstance

The geometry instance representing the outline portion of the geometry.

构造函数

构造函数

new BoxGeometryUpdater(entity: Entity, scene: Scene): BoxGeometryUpdater

参数

entity

Entity

scene

Scene

返回

BoxGeometryUpdater

KBE3D @3.0.0 Copyright © 2024-present KBE3D