Functions
Link copied to clipboard
suspend fun fromIonAssetId(assetId: Int, options: CesiumTerrainProvider.ConstructorOptions? = definedExternally): CesiumTerrainProvider
Creates a TerrainProvider from a Cesium ion asset ID that accesses terrain data in a Cesium terrain format Terrain formats can be one of the following:
Link copied to clipboard
fun fromIonAssetIdAsync(assetId: Int, options: CesiumTerrainProvider.ConstructorOptions? = definedExternally): Promise<CesiumTerrainProvider>
Link copied to clipboard
suspend fun fromUrl(url: Any, options: CesiumTerrainProvider.ConstructorOptions? = definedExternally): CesiumTerrainProvider
Creates a TerrainProvider that accesses terrain data in a Cesium terrain format. Terrain formats can be one of the following:
Link copied to clipboard
fun fromUrlAsync(url: Any, options: CesiumTerrainProvider.ConstructorOptions? = definedExternally): Promise<CesiumTerrainProvider>