Skip to content

Cesium3DTilesTerrainProvider

⚠️ EXPERIMENTAL - This component wraps an experimental Cesium API that may change without notice.

Cesium3DTilesTerrainProvider loads 3D Tiles as terrain data.

This is an alternative to traditional terrain providers like CesiumTerrainProvider. Note: Has limitations on the types of 3D Tiles that can be used as terrain.

This feature is not final and is subject to change without Cesium’s standard deprecation policy.

Used with the Globe component’s terrainProvider prop.

N/A

Property Type Description
url string | Resource | Promise<Resource> | Promise<string> | undefined The URL of the Cesium 3D Tiles terrain server.
requestVertexNormals boolean | undefined Request additional lighting information from the server, in the form of per vertex normals if available.
requestWaterMask boolean | undefined Request per tile water masks from the server, if available.
ellipsoid Ellipsoid | undefined The ellipsoid. If not specified, the WGS84 ellipsoid is used.
credit string | Credit | undefined A credit for the data source, which is displayed on the canvas.

N/A

Property Type Description
children ReactNode
onReady ((terrainProvider: Cesium3DTilesTerrainProvider) => void) | undefined Calls when the terrain provider is successfully created.
assetId number | undefined The Ion asset ID to load from Cesium Ion. Alternative to using url.
accessToken string | undefined The access token for Cesium Ion. Only needed if assetId is provided and different from default.