Appearance
KBE3D / KBCore / Cesium / WallGraphics
类: WallGraphics
Describes a two dimensional wall defined as a line strip and optional maximum and minimum heights. The wall conforms to the curvature of the globe and can be placed along the surface or at altitude.
参数
Object describing initialization options
属性
definitionChanged
readonlydefinitionChanged:Event
Gets the event that is raised whenever a property or sub-property is changed or modified.
show
show:
Property|undefined
Gets or sets the boolean Property specifying the visibility of the wall.
positions
positions:
Property|undefined
Gets or sets the Property specifying the array of Cartesian3 positions which define the top of the wall.
minimumHeights
minimumHeights:
Property|undefined
Gets or sets the Property specifying an array of heights to be used for the bottom of the wall instead of the surface of the globe. If defined, the array must be the same length as Wall#positions.
maximumHeights
maximumHeights:
Property|undefined
Gets or sets the Property specifying an array of heights to be used for the top of the wall instead of the height of each position. If defined, the array must be the same length as Wall#positions.
granularity
granularity:
Property|undefined
Gets or sets the numeric Property specifying the angular distance between points on the wall.
fill
fill:
Property|undefined
Gets or sets the boolean Property specifying whether the wall is filled with the provided material.
material
material:
MaterialProperty
Gets or sets the Property specifying the material used to fill the wall.
outline
outline:
Property|undefined
Gets or sets the Property specifying whether the wall is outlined.
outlineColor
outlineColor:
Property|undefined
Gets or sets the Property specifying the Color of the outline.
outlineWidth
outlineWidth:
Property|undefined
Gets or sets the numeric Property specifying the width of the outline. <p> Note: This property will be ignored on all major browsers on Windows platforms. For details, see (@link https://github.com/CesiumGS/cesium/issues/40\}. </p>
shadows
shadows:
Property|undefined
Get or sets the enum Property specifying whether the wall casts or receives shadows from light sources.
distanceDisplayCondition
distanceDisplayCondition:
Property|undefined
Gets or sets the DistanceDisplayCondition Property specifying at what distance from the camera that this wall will be displayed.
方法
clone()
clone(
result?:WallGraphics):WallGraphics
Duplicates this instance.
参数
result?
WallGraphics
The object onto which to store the result.
返回
WallGraphics
The modified result parameter or a new instance if one was not provided.
merge()
merge(
source:WallGraphics):void
Assigns each unassigned property on this object to the value of the same property on the provided source object.
参数
source
WallGraphics
The object to be merged into this object.
返回
void
构造函数
构造函数
new WallGraphics(
options?:ConstructorOptions):WallGraphics
参数
options?
返回
WallGraphics
