Companion

Functions

Link copied to clipboard
suspend fun fromIonAssetId(assetId: Int, options: Cesium3DTileset.ConstructorOptions? = definedExternally): Cesium3DTileset

Creates a 3D Tiles tileset, used for streaming massive heterogeneous 3D geospatial datasets, from a Cesium ion asset ID.

Link copied to clipboard
Link copied to clipboard
suspend fun fromUrl(url: Resource, options: Cesium3DTileset.ConstructorOptions? = definedExternally): Cesium3DTileset

Creates a 3D Tiles tileset, used for streaming massive heterogeneous 3D geospatial datasets.

suspend fun fromUrl(url: String, options: Cesium3DTileset.ConstructorOptions? = definedExternally): Cesium3DTileset
Link copied to clipboard
Link copied to clipboard
suspend fun loadJson(tilesetUrl: Resource): Any

Provides a hook to override the method used to request the tileset json useful when fetching tilesets from remote servers

suspend fun loadJson(tilesetUrl: String): Any
Link copied to clipboard
fun loadJsonAsync(tilesetUrl: Resource): Promise<Any>
fun loadJsonAsync(tilesetUrl: String): Promise<Any>