WallGeometryUpdater

new Cesium.WallGeometryUpdater(entity, scene)

用于更新墙体的 GeometryUpdater。 客户端通常不直接创建这个类,而是依赖于DataSourceDisplay。
Name Type Description
entity Entity 墙体几何型实体。
scene Scene 场景。

Methods

createFillGeometryInstance(time) → GeometryInstance

创建表示几何图形填充的几何图形实例。
Name Type Description
time JulianDate The time to use when retrieving initial attribute values.
Returns:
The geometry instance representing the filled portion of the geometry.
Throws:
  • DeveloperError : This instance does not represent a filled geometry.

createOutlineGeometryInstance(time) → GeometryInstance

创建表示几何图形边框的几何图形实例。
Name Type Description
time JulianDate The time to use when retrieving initial attribute values.
Returns:
The geometry instance representing the outline portion of the geometry.
Throws:
  • DeveloperError : This instance does not represent an outlined geometry.