Skip to content

MapTransparency (Map Transparency)

Create and manage map transparency effect for underground mode.

Constructor

ts
new ge3d.matter.MapTransparency(options?: {}): MapTransparency

Parameters (Options)

ParameterTypeDefaultDescription
alphaNumber0.5Transparency alpha value (0.0 - 1.0)
colorCesium.ColorCesium.Color.BLACKUnderground color

Properties

PropertyTypeDescription
alphaNumberTransparency alpha value
colorCesium.ColorUnderground color
colorAlphaByDistanceCesium.NearFarScalarColor alpha by distance
translucencyCesium.GlobeTranslucencyGlobe translucency object
enabledBooleanWhether the effect is enabled

Methods

remove

Remove the map transparency effect

ts
remove(): void