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.
- Cesium element: Cesium3DTilesTerrainProvider
- Example: Cesium3DTilesTerrainProvider
Availability
Used with the Globe component's terrainProvider prop.
Properties
Cesium properties
N/A
Cesium read-only properties
| Property | Type | Description |
|---|---|---|
| url | string | Resource | Promise<Resource> | Promise<string> | The URL of the Cesium 3D Tiles terrain server. |
| requestVertexNormals | boolean | Request additional lighting information from the server, in the form of per vertex normals if available. |
| requestWaterMask | boolean | Request per tile water masks from the server, if available. |
| ellipsoid | Ellipsoid | The ellipsoid. If not specified, the WGS84 ellipsoid is used. |
| credit | string | Credit | A credit for the data source, which is displayed on the canvas. |
Cesium events
N/A
Other properties
| Property | Type | Description |
|---|---|---|
| children | ReactNode | |
| onReady | (terrainProvider: Cesium3DTilesTerrainProvider) => void | Calls when the terrain provider is successfully created. |
| assetId | number | The Ion asset ID to load from Cesium Ion. Alternative to using url. |
| accessToken | string | The access token for Cesium Ion. Only needed if assetId is provided and different from default. |