ColorMaterialProperty 是用于指定 Cesium Primitive 对象颜色的材质属性。
new Cesium.ColorMaterialProperty(color)
color : Cesium.Color 颜色属性viewer.entities.add({
rectangle: {
coordinates: Cesium.Rectangle.fromDegrees(-100.0, 20.0, -90.0, 30.0),
material: new Cesium.ColorMaterialProperty(Cesium.Color.RED)
}
});
获取此实例对象的类型。
time : JulianDate (可选) 此属性的时间获取此时刻的 Color 颜色属性。
time : JulianDate (可选) 此属性的时间result : Object (可选) 存储结果的对象判断此实例对象是否和另一个实例对象相等。
other : Property 对象用于比较