new WallGraphics(options)
Create wall classes that extend along the surface of the Earth or in the air.
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
Object is an object that contains the following properties:
|
- See:
Members
-
readonly definitionChangedEvent
-
Get events. This event is thrown when the value of a property or sub property is modified, or when the definition is modified.
-
distanceDisplayConditionProperty
-
Get or set the DistanceDisplayCondition property to specify how far the wall should be displayed from the camera.
-
fillProperty
-
Get or set boolean property to specify whether to fill the wall with the provided material.
- Default Value: true
granularityProperty
Get or set the number property, which specifies the angular distance between each latitude and longitude point.
- Default Value: {CesiumMath.RADIANS_PER_DEGREE}
materialMaterialProperty
Get or set the MaterialProperty property to specify the material used to fill the wall.
- Default Value: Color.WHITE
maximumHeightsProperty
Get or set a number array, specifying a height array for the top of the wall instead of a height array for each position. If defined, the length of the array must be the same as Wall # positions.
minimumHeightsProperty
Get or set a number array, specifying a height array for the bottom of the wall instead of the ellipsoid surface. If defined, the length of the array must be the same as Wall # positions.
outlineProperty
Gets or sets a Boolean property that specifies whether to display the wall outline.
- Default Value: false
outlineColorProperty
Get or set the Color property to specify the color of the contour.
- Default Value: Color.BLACK
outlineWidthProperty
Get or set the number property to specify the contour width.
- Default Value: 1.0
positionsProperty
Gets or sets the Cartesian3 array, which defines the top of the wall.
shadowsProperty
Gets or sets enumeration properties to specify whether the wall casts or receives shadows from each light source.
- Default Value: ShadowMode.DISABLED
showProperty
Get the visibility of the wall setting, of type boolean.
- Default Value: true
Methods
-
clone(result){WallGraphics}
-
Copy instance
Name Type Description resultWallGraphics optional The object that stores the copied results
Returns:
Type Description WallGraphics If input parameters are provided, return the modified input parameter object. If no input parameters are provided, return a new instance. -
merge(source)
-
Assign the attribute values corresponding to the source object to all unspecified attributes of this instance.
Name Type Description sourceWallGraphics An object that provides attribute values.