A
GeometryUpdater 用于墙壁。客户端通常不会直接创建此类,而是依赖 for walls. 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
createFillGeometryInstance(time) → GeometryInstance
创建表示几何体填充的几何体实例。 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.
createOutlineGeometryInstance(time) → GeometryInstance
创建表示几何轮廓的几何实例。 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.
