English中文

BoxGeometryUpdater

new Cesium.BoxGeometryUpdater(entity, scene)

A GeometryUpdater 对于盒子。客户端通常不会直接创建此类,而是依赖 for boxes. Clients do not normally create this class directly, but instead rely on DataSourceDisplay.
名称 Name 类型 Type 说明 Description
entity Entity 包含要可视化的几何图形的实体。 The entity containing the geometry to be visualized.
scene Scene 可视化发生的场景。 The scene where visualization is taking place.

方法 Methods

创建表示几何体填充的几何体实例。 Creates the geometry instance which represents the fill of the geometry.
名称 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.
创建表示几何轮廓的几何实例。 Creates the geometry instance which represents the outline of the geometry.
名称 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.
需要帮助吗?获得答案的最快方法是从社区和团队那里获得答案 Need help? The fastest way to get answers is from the community and team on the Cesium Forum.