Skip to main content

Globe

Globe can operate the globe of the scene. All properties are applied to single globe of the scene.

Note: Following code is not recommended as occur extra rendering steps:

<Viewer>
<Scene>
<Globe>
<Camera>
<Entity />
</Camera>
</Globe>
</Scene>
</Viewer>

Globe component's role is just changing fields of Viewer#scene#globe, so following code is recommended.

<Viewer>
<Scene />
<Globe />
<Camera />
<Entity />
</Viewer>

For details, refer to "Component location" chapter in Guide.

Availability

Globe can be mounted insideViewer or CesiumWidget components. It can not be mounted more than once for each Viewer or CesiumWidget.

Properties

Cesium properties

PropertyTypeDescription
showboolean
materialMaterial
shadowsShadowMode
maximumScreenSpaceErrornumber
clippingPlanesClippingPlaneCollection
backFaceCullingboolean
terrainProviderTerrainProvider
atmosphereBrightnessShiftnumber
atmosphereHueShiftnumber
atmosphereSaturationShiftnumber
baseColorColor
depthTestAgainstTerrainboolean
enableLightingboolean
lightingFadeInDistancenumber
lightingFadeOutDistancenumber
nightFadeInDistancenumber
nightFadeOutDistancenumber
oceanNormalMapUrlstring
showGroundAtmosphereboolean
showWaterEffectboolean
tileCacheSizenumber
loadingDescendantLimitnumber
preloadAncestorsboolean
preloadSiblingsboolean
fillHighlightColorColor
dynamicAtmosphereLightingboolean
dynamicAtmosphereLightingFromSunboolean
showSkirtsboolean
cartographicLimitRectangleRectangle
translucencyGlobeTranslucency
undergroundColorColor
undergroundColorAlphaByDistanceNearFarScalar
terrainExaggerationnumber
terrainExaggerationRelativeHeightnumber
lambertDiffuseMultipliernumber
atmosphereLightIntensitynumber
atmosphereRayleighCoefficientCartesian3
atmosphereMieCoefficientCartesian3
atmosphereRayleighScaleHeightnumber
atmosphereMieScaleHeightnumber
atmosphereMieAnisotropynumber

Cesium read-only properties

N/A

Cesium events

PropertyTypeDescription
onImageryLayersUpdate() => void
onTerrainProviderChange(terrainProvider: TerrainProvider) => void
onTileLoadProgress(currentLoadQueueLength: number) => void

Other properties

N/A