Evergine.Cesium
2026.11.12.4
dotnet add package Evergine.Cesium --version 2026.11.12.4
NuGet\Install-Package Evergine.Cesium -Version 2026.11.12.4
<PackageReference Include="Evergine.Cesium" Version="2026.11.12.4" />
<PackageVersion Include="Evergine.Cesium" Version="2026.11.12.4" />
<PackageReference Include="Evergine.Cesium" />
paket add Evergine.Cesium --version 2026.11.12.4
#r "nuget: Evergine.Cesium, 2026.11.12.4"
#:package Evergine.Cesium@2026.11.12.4
#addin nuget:?package=Evergine.Cesium&version=2026.11.12.4
#tool nuget:?package=Evergine.Cesium&version=2026.11.12.4
Evergine.Cesium
Evergine add-on to stream real-world terrain and 3D buildings from Cesium ion.
Requirements
- Evergine
- .NET 10 SDK
- A Cesium ion access token with terrain and 3D Tiles permissions
- Optional: Azure Maps or Google Maps credentials for geocoding
Install
Add NuGet package:
- Evergine.Cesium
Quick usage example
Add CesiumCoordinator as a scene manager and provide your token.
using Evergine.Cesium;
using Evergine.Cesium.Utils;
using Evergine.Framework;
using Evergine.UI;
public class MyScene : Scene
{
public override void RegisterManagers()
{
base.RegisterManagers();
// Your scene must contain an entity tagged as "MainCamera" with Camera3D.
CesiumCoordinator cesium = new CesiumCoordinator()
{
AccessToken = "<CESIUM_ION_TOKEN>",
GeocodingService = new AzureMapsGeocodingService("<OPTIONAL_AZURE_MAPS_KEY>"),
EntityManager = this.Managers.EntityManager,
};
cesium.AddOverlayedTileset(1, RasterOverlayProvider.BingAerial, "Terrain");
cesium.AddGeometryTileset(96188, "Buildings");
this.Managers.AddManager(cesium);
// Optional camera move after init.
// cesium.FlyTo(40.4168, -3.7038, 3.0);
}
}
Geocoding providers
Geocoding is configured by assigning an IGeocodingService to the coordinator. To use Google Maps instead of Azure Maps, enable Google Geocoding API v4 and Places API (New) for the project, then inject its provider:
cesium.GeocodingService = new GoogleMapsGeocodingService("<GOOGLE_MAPS_API_KEY>");
Google Geocoding API v4 is intended for server-to-server use. GoogleMapsGeocodingService sends the key in the X-Goog-Api-Key header rather than the URL, but a key embedded in a desktop application can still be extracted. Restrict the key and route production requests through a protected backend when the credential must remain secret.
Google's geocoding service does not provide autocomplete. The Google provider implements AutocompleteAsync by projecting address-geocoding results into suggestions; use Places Autocomplete when true type-ahead behavior is required.
Custom providers can implement IGeocodingService and use the same coordinator API.
Runtime notes
CesiumCoordinator.CurrentStatusreports initialization and connectivity/auth status.CesiumCoordinator.Diagnosticsexposes tile/queue counters.CesiumCoordinator.QueryTerrainMinHeight(...)lets you sample terrain height.- Raster overlays retain up to 8 MiB in the subtile cache. This does not change texture resolution, screen-space error or concurrent load limits; previously unseen tiles still require loading.
WorldCamerakeeps its original immediate mouse-wheel zoom by default. Applications can assignZoomHeightUpdaterto customize it. The callback receives current height, wheel delta, elapsed frame time, minimum height and whether wheel zoom is enabled, and returns the new height. Disabled updates are also delivered so custom controllers can cancel pending movement when UI focus orFlyTotakes control.- Keep the Cesium assembly and add-on assets on the same source revision. When using a project reference to this repository, set the application's
.weprojCesium packageLocalPathto this repository'sSource\Evergine.Cesium.Assetsdirectory and rebuild both Windows launchers. GenerateGPUCommandsrequires a 144-byteParamsBuffer: a 16-byte header,Worldat byte 16 andVPMatrixat byte 80. Older packaged shaders only allocate 80 bytes. Mixing them with newer generated C# decorators corrupts unmanaged memory and can produce delayed crashes in unrelated native modules.- The atlas compute shader enables its Vulkan image-format attribute only for SPIR-V compilation so the same shader also compiles with DX11's compiler.
- Terrain-height sampling is dispatched on the Cesium worker with tileset updates; completion callbacks are marshalled back to the scene update.
Build from source
dotnet build Source/Evergine.Cesium.sln
License
See LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Azure.Maps.Search (>= 2.0.0-beta.5)
- Evergine.Bindings.CesiumNative (>= 2026.9.1.40)
- Evergine.Common (>= 2026.11.12.8)
- Evergine.DirectX11 (>= 2026.11.12.8)
- Evergine.Framework (>= 2026.11.12.8)
- Evergine.Mathematics (>= 2026.11.12.8)
- Evergine.Runtimes.GLB (>= 2026.11.12.8)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.11.12.4 | 47 | 11/12/2026 |
| 2026.11.11.3 | 57 | 11/11/2026 |
| 2026.5.26.1 | 146 | 5/26/2026 |
| 2026.5.14.16-nightly | 93 | 5/14/2026 |
| 2026.5.14.15-nightly | 94 | 5/14/2026 |
| 2026.5.14.3-preview | 83 | 5/14/2026 |
| 2026.5.13.14-nightly | 85 | 5/13/2026 |
| 2026.5.12.13-nightly | 97 | 5/12/2026 |
| 2026.5.7.2-preview | 95 | 5/7/2026 |