GeometryUpdater
用于通道。客户端通常不直接创建这个类,而是依赖于DataSourceDisplay
。
Name | Type | Description |
---|---|---|
entity |
Entity | 包含要可视化的几何体的实体。 |
scene |
Scene | 可视化发生的场景。 |
Members
-
staticSuperMap3D.CorridorGeometryUpdater.materialAppearanceType : Appearance
-
获取用于基于材质的几何体的外观类型。
-
staticSuperMap3D.CorridorGeometryUpdater.perInstanceColorAppearanceType : Appearance
-
获取用于基于颜色的简单几何体的外观类型。
-
readonlydistanceDisplayConditionProperty : Property
-
Gets or sets the
DistanceDisplayCondition
Property specifying at what distance from the camera that this geometry will be displayed. -
readonlyentity : Entity
-
获取与此几何体相关的实体。
-
获取表示几何体是否有填充组件的值。
-
readonlyfillMaterialProperty : MaterialProperty
-
获取用于填充几何体的材质属性。
-
Gets an event that is raised whenever the public properties of this updater change.
-
获取表示填充可见度是否随模拟时间变化的值。
-
获取表示几何体是否有轮廓组件的值。
-
Gets a value indicating if the geometry is closed. This property is only valid for static geometry.
-
Gets a value indicating if the geometry is time-varying. If true, all visualization is delegated to the
DynamicGeometryUpdater
returned by GeometryUpdater#createDynamicUpdater. -
Gets a value indicating if the geometry should be drawn on terrain.
-
readonlyoutlineColorProperty : Property
-
Gets the
Color
property for the geometry outline. -
获取指示轮廓可见度是否随模拟时间变化的值。
-
Gets the constant with of the geometry outline, in pixels. This value is only valid if isDynamic is false.
-
readonlyshadowsProperty : Property
-
Gets the property specifying whether the geometry casts or receives shadows from each light source.
Methods
-
createDynamicUpdater(primitives, groundPrimitives) → DynamicGeometryUpdater
-
Creates the dynamic updater to be used when GeometryUpdater#isDynamic is true.
Name Type Description primitives
PrimitiveCollection The primitive collection to use. groundPrimitives
PrimitiveCollection The ground primitives collection to use. Returns:
The dynamic updater used to update the geometry each frame.Throws:
-
DeveloperError : This instance does not represent dynamic geometry.
-
-
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.
-
-
Destroys and resources used by the object. Once an object is destroyed, it should not be used.
Throws:
-
DeveloperError : This object was destroyed, i.e., destroy() was called.
-
-
Returns true if this object was destroyed; otherwise, false.
Returns:
True if this object was destroyed; otherwise, false. -
Checks if the geometry is filled at the provided time.
Name Type Description time
JulianDate The time for which to retrieve visibility. Returns:
true if geometry is filled at the provided time, false otherwise. -
Checks if the geometry is outlined at the provided time.
Name Type Description time
JulianDate The time for which to retrieve visibility. Returns:
true if geometry is outlined at the provided time, false otherwise.