Constructor
new MarkMaterialGrid(optionsopt)
Example
var circleAirSpace = new MarkAirSpaceArc({
name : "弧形空域",
radius : 500000,
height : 200000,
material : new MarkMaterialGrid({
color : Cesium.Color.RED,
}),
position : new GeoPosition(-112.210693, 36.0994841)
})
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
此对象拥有以下属性:
Properties
|
Extends
Members
cellAlpha :Number
- Default Value:
- 0.1
设置/获取每个格子的alpha值(不透明度)。
Type:
- Number
color :Cesium.Color
- Default Value:
- Cesium.Color.WHITE
设置/获取格网颜色。
Type:
- Cesium.Color
lineCount :Cesium.Cartesian2
- Default Value:
- new Cesium.Cartesian2(8.0, 8.0)
设置/获取指定沿每个轴的格网线的数量。
Type:
- Cesium.Cartesian2
lineOffset :Cesium.Cartesian2
- Default Value:
- new Cesium.Cartesian2(0.0, 0.0)
设置/获取每个轴的格网线的偏移量
Cesium.Cartesian2
。
Type:
- Cesium.Cartesian2
lineThickness :Cesium.Cartesian2
- Default Value:
- new Cesium.Cartesian2(1.0, 1.0)
设置/获取沿每个轴的格网线的粗细,
Cesium.Cartesian2
属性。
Type:
- Cesium.Cartesian2
(readonly) materialProperty :Cesium.MaterialProperty
- Overrides:
获取Cesium原生材质属性。
Type:
- Cesium.MaterialProperty