A
GeometryUpdater for polylines.
客户端通常不直接创建此类,而是依赖 DataSourceDisplay .
| Name | Type | Description |
|---|---|---|
entity |
Entity | 包含可视化几何的实体. |
scene |
Scene | 出现视觉的场景. |
Members
readonly arcType : ArcType
获得一个表示行路径的值.
获得一个数值,显示几何被夹在地上.
如果不支持地形上的多线, 则返回虚假 .
readonly classificationTypeProperty : Property
Gets or sets the
ClassificationType Property specifying if this geometry will classify terrain, 3D Tiles, or both when on the ground.
readonly depthFailMaterialProperty : MaterialProperty
在深度测试失败时获得用于填充几何的物质属性.
readonly distanceDisplayConditionProperty : Property
Gets or sets the
DistanceDisplayCondition Property specifying at what distance from the camera that this geometry will be displayed.
readonly entity : Entity
获取与此几何相关的实体 .
获得一个数值,表示几何具有填充组件.
readonly fillMaterialProperty : MaterialProperty
获得用于填充几何的物质属性.
获得一个在公共属性时被提起的事件
此更新更改.
获得一个数值,表示是否填充能见度随模拟时间而变化.
获得一个值,表示大纲可见度是否随模拟时间而变化.
获取与此更新器相关的唯一 ID
获得一个表示几何关闭值.
此属性只对静态几何有效.
获得一个数值,表示几何是时间变化的.
readonly outlineColorProperty : Property
Gets the
Color property for the geometry outline.
获得一个数值,表示几何具有大纲组件.
readonly shadowsProperty : Property
获取属性指定是否几何
投影或接收来自光源的阴影.
获取 zindex
Methods
createFillGeometryInstance(time) → GeometryInstance
创建代表几何填充的几何实例.
| Name | Type | Description |
|---|---|---|
time |
JulianDate | 检索初始属性值时使用的时间 . |
Returns:
代表几何中填充部分的几何实例.
Throws:
-
DeveloperError : This instance does not represent a filled geometry.
createOutlineGeometryInstance(time) → GeometryInstance
创建几何实例,代表几何的轮廓.
| Name | Type | Description |
|---|---|---|
time |
JulianDate | 检索初始属性值时使用的时间 . |
Returns:
代表几何的大纲部分的几何实例.
Throws:
-
DeveloperError : This instance does not represent an outlined geometry.
破坏对象所使用的资源. 一旦物体被销毁,就不应使用.
Throws:
-
DeveloperError : This object was destroyed, i.e., destroy() was called.
如果此对象被销毁, 返回真实; 否则, 错误 .
Returns:
如果此天体被销毁, 则属真; 否则, 属假 .
检查几何是否在指定时间填充 .
| Name | Type | Description |
|---|---|---|
time |
JulianDate | 找回能见度的时间. |
Returns:
如果在提供的时间填充几何,则不正确.
检查是否在指定时间对几何进行了描述 .
| Name | Type | Description |
|---|---|---|
time |
JulianDate | 找回能见度的时间. |
Returns:
如果在提供的时间勾勒出几何,则真实性为真.