Appearance
KBE3D / KBCore / Cesium / PolylineGeometryUpdater
类: PolylineGeometryUpdater
A GeometryUpdater for polylines. Clients do not normally create this class directly, but instead rely on DataSourceDisplay.
参数
The entity containing the geometry to be visualized.
参数
The scene where visualization is taking place.
属性
id
readonlyid:string
Gets the unique ID associated with this updater
entity
readonlyentity:Entity
Gets the entity associated with this geometry.
fillEnabled
readonlyfillEnabled:boolean
Gets a value indicating if the geometry has a fill component.
hasConstantFill
readonlyhasConstantFill:boolean
Gets a value indicating if fill visibility varies with simulation time.
fillMaterialProperty
readonlyfillMaterialProperty:MaterialProperty
Gets the material property used to fill the geometry.
depthFailMaterialProperty
readonlydepthFailMaterialProperty:MaterialProperty
Gets the material property used to fill the geometry when it fails the depth test.
outlineEnabled
readonlyoutlineEnabled:boolean
Gets a value indicating if the geometry has an outline component.
hasConstantOutline
readonlyhasConstantOutline:boolean
Gets a value indicating if outline visibility varies with simulation time.
outlineColorProperty
readonlyoutlineColorProperty:Property
Gets the Color property for the geometry outline.
shadowsProperty
readonlyshadowsProperty:Property
Gets the property specifying whether the geometry casts or receives shadows from light sources.
distanceDisplayConditionProperty
readonlydistanceDisplayConditionProperty:Property
Gets or sets the DistanceDisplayCondition Property specifying at what distance from the camera that this geometry will be displayed.
classificationTypeProperty
readonlyclassificationTypeProperty:Property
Gets or sets the ClassificationType Property specifying if this geometry will classify terrain, 3D Tiles, or both when on the ground.
isDynamic
readonlyisDynamic:boolean
Gets a value indicating if the geometry is time-varying.
isClosed
readonlyisClosed:boolean
Gets a value indicating if the geometry is closed. This property is only valid for static geometry.
geometryChanged
readonlygeometryChanged:boolean
Gets an event that is raised whenever the public properties of this updater change.
arcType
readonlyarcType:ArcType
Gets a value indicating if the path of the line.
clampToGround
readonlyclampToGround:boolean
Gets a value indicating if the geometry is clamped to the ground. Returns false if polylines on terrain is not supported.
zIndex
readonlyzIndex:number
Gets the zindex
方法
isOutlineVisible()
isOutlineVisible(
time:JulianDate):boolean
Checks if the geometry is outlined at the provided time.
参数
time
The time for which to retrieve visibility.
返回
boolean
true if geometry is outlined at the provided time, false otherwise.
isFilled()
isFilled(
time:JulianDate):boolean
Checks if the geometry is filled at the provided time.
参数
time
The time for which to retrieve visibility.
返回
boolean
true if geometry is filled at the provided time, false otherwise.
createFillGeometryInstance()
createFillGeometryInstance(
time:JulianDate):GeometryInstance
Creates the geometry instance which represents the fill of the geometry.
参数
time
The time to use when retrieving initial attribute values.
返回
The geometry instance representing the filled portion of the geometry.
createOutlineGeometryInstance()
createOutlineGeometryInstance(
time:JulianDate):GeometryInstance
Creates the geometry instance which represents the outline of the geometry.
参数
time
The time to use when retrieving initial attribute values.
返回
The geometry instance representing the outline portion of the geometry.
isDestroyed()
isDestroyed():
boolean
Returns true if this object was destroyed; otherwise, false.
返回
boolean
True if this object was destroyed; otherwise, false.
destroy()
destroy():
void
Destroys and resources used by the object. Once an object is destroyed, it should not be used.
返回
void
构造函数
构造函数
new PolylineGeometryUpdater(
entity:Entity,scene:Scene):PolylineGeometryUpdater
参数
entity
scene
返回
PolylineGeometryUpdater
