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

PropertyTypeDescription
urlstring | Resource | Promise<Resource> | Promise<string> | undefinedThe URL of the Cesium 3D Tiles terrain server.
requestVertexNormalsboolean | undefinedRequest additional lighting information from the server, in the form of per vertex normals if available.
requestWaterMaskboolean | undefinedRequest per tile water masks from the server, if available.
ellipsoidEllipsoid | undefinedThe ellipsoid. If not specified, the WGS84 ellipsoid is used.
creditstring | Credit | undefinedA credit for the data source, which is displayed on the canvas.

N/A

PropertyTypeDescription
childrenReactNode
onReady((terrainProvider: Cesium3DTilesTerrainProvider) => void) | undefinedCalls when the terrain provider is successfully created.
assetIdnumber | undefinedThe Ion asset ID to load from Cesium Ion. Alternative to using url.
accessTokenstring | undefinedThe access token for Cesium Ion. Only needed if assetId is provided and different from default.