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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Evergine.Cesium" Version="2026.11.12.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Evergine.Cesium" Version="2026.11.12.4" />
                    
Directory.Packages.props
<PackageReference Include="Evergine.Cesium" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Evergine.Cesium --version 2026.11.12.4
                    
#r "nuget: Evergine.Cesium, 2026.11.12.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Evergine.Cesium@2026.11.12.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Evergine.Cesium&version=2026.11.12.4
                    
Install as a Cake Addin
#tool nuget:?package=Evergine.Cesium&version=2026.11.12.4
                    
Install as a Cake Tool

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.CurrentStatus reports initialization and connectivity/auth status.
  • CesiumCoordinator.Diagnostics exposes 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.
  • WorldCamera keeps its original immediate mouse-wheel zoom by default. Applications can assign ZoomHeightUpdater to 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 or FlyTo takes 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 .weproj Cesium package LocalPath to this repository's Source\Evergine.Cesium.Assets directory and rebuild both Windows launchers.
  • GenerateGPUCommands requires a 144-byte ParamsBuffer: a 16-byte header, World at byte 16 and VPMatrix at 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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