Companion

external object Companion(source)

Functions

Link copied to clipboard
suspend external 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
external fun fromIonAssetIdAsync(assetId: Int, options: Cesium3DTileset.ConstructorOptions? = definedExternally): Promise<Cesium3DTileset>
Link copied to clipboard
suspend external fun fromUrl(url: Resource, options: Cesium3DTileset.ConstructorOptions? = definedExternally): Cesium3DTileset

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

suspend external fun fromUrl(url: String, options: Cesium3DTileset.ConstructorOptions? = definedExternally): Cesium3DTileset
Link copied to clipboard
external fun fromUrlAsync(url: Resource, options: Cesium3DTileset.ConstructorOptions? = definedExternally): Promise<Cesium3DTileset>
external fun fromUrlAsync(url: String, options: Cesium3DTileset.ConstructorOptions? = definedExternally): Promise<Cesium3DTileset>
Link copied to clipboard
suspend external fun loadJson(tilesetUrl: Resource): JsAny

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

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