Appearance
MapTransparency (Map Transparency)
Create and manage map transparency effect for underground mode.
Constructor
ts
new ge3d.matter.MapTransparency(options?: {}): MapTransparencyParameters (Options)
| Parameter | Type | Default | Description |
|---|---|---|---|
| alpha | Number | 0.5 | Transparency alpha value (0.0 - 1.0) |
| color | Cesium.Color | Cesium.Color.BLACK | Underground color |
Properties
| Property | Type | Description |
|---|---|---|
| alpha | Number | Transparency alpha value |
| color | Cesium.Color | Underground color |
| colorAlphaByDistance | Cesium.NearFarScalar | Color alpha by distance |
| translucency | Cesium.GlobeTranslucency | Globe translucency object |
| enabled | Boolean | Whether the effect is enabled |
Methods
remove
Remove the map transparency effect
ts
remove(): void