Skip to main 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.

Availability

Used with the Globe component's terrainProvider prop.

Properties

Cesium properties

N/A

Cesium read-only properties

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

Cesium events

N/A

Other properties

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