光点纹理
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
入参对象
|
Example:
let lon = 104;
let lat = 30;
viewer.entities.add({
polygon: {
hierarchy: Cesium.Cartesian3.fromDegreesArrayHeights([
lon - 0.2 +1, lat - 0.1, 0,
lon + 0.2+1, lat - 0.1, 0,
lon + 0.2+1, lat - 0.5, 0,
lon - 0.2+1, lat - 0.5, 0,
]),
material: new GisEye.GisEyeLightSpotMaterialProperty({
color: new Cesium.Color(40.0/255.0, 80.0/255.0,138.0/255.0, 1.0),
rate: 1,
alpha:1,
isTranslucent:true
})
}
});