RectangleGeometryUpdater

new Cesium.RectangleGeometryUpdater(entity, scene)

用于矩形的 GeometryUpdater。 客户端通常不直接创建此类,而是依赖于 DataSourceDisplay
Name Type Description
entity Entity 包含要可视化的几何体的实体。
scene Scene 正在进行可视化的场景。

Methods

创建表示几何图形填充的几何实例。
Name Type Description
time JulianDate 检索初始属性值时使用的时间。
Returns:
表示几何体的填充部分的 geometry 实例。
Throws:
  • DeveloperError : This instance does not represent a filled geometry.
创建表示几何轮廓的几何实例。
Name Type Description
time JulianDate 检索初始属性值时使用的时间。
Returns:
表示几何体轮廓部分的 geometry 实例。
Throws:
  • DeveloperError : This instance does not represent an outlined geometry.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.