MarkMaterialCheckerboard

MarkMaterialCheckerboard

标绘条带材质。

Constructor

new MarkMaterialCheckerboard(optionsopt)

Author:
  • zpc
Example
var circleAirSpace = new MarkAirSpaceArc({
     name : "弧形空域",
     radius : 500000,
     height : 200000,
     material : new MarkMaterialCheckerboard({
         repeat : new Cesium.Cartesian2(10.0, 10.0)
     }),
     position : new GeoPosition(-112.210693, 36.0994841)
 })
Parameters:
Name Type Attributes Description
options Object <optional>
此对象拥有以下属性:
Properties
Name Type Attributes Default Description
evenColor Cesium.Color <optional>
Cesium.Color.WHITE 棋盘上的第一种颜色。
oddColor Cesium.Color <optional>
Cesium.Color.BLACK 棋盘上的第二种颜色。
repeat Cesium.Cartesian2 <optional>
new Cesium.Cartesian2(2.0, 2.0) 指定横向和纵向重复次数。

Extends

Members

evenColor :Cesium.Color

Default Value:
  • Cesium.Color.WHITE
设置/获取棋盘上的第一种颜色。
Type:
  • Cesium.Color

(readonly) materialProperty :Cesium.MaterialProperty

Overrides:
获取Cesium原生材质属性。
Type:
  • Cesium.MaterialProperty

oddColor :Cesium.Color

Default Value:
  • Cesium.Color.BLACK
设置/获取棋盘上的第二种颜色。
Type:
  • Cesium.Color

repeat :Cesium.Cartesian2

Default Value:
  • new Cartesian2(2.0, 2.0)
设置/获取指定横向和纵向瓷砖的重复次数。
Type:
  • Cesium.Cartesian2