用于更新几何实体的抽象类 .
| Name | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
具有下列属性的天体:
|
Members
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 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.
获得一个数值,表示几何具有大纲组件.
获得与几何轮廓的常数,以像素计.
此值只有在isDynamic为假时才有效 .
readonly shadowsProperty : Property
获取属性指定是否几何
投影或接收来自光源的阴影.
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:
如果在提供的时间勾勒出几何,则真实性为真.