ITwinData
Methods for loading iTwin platform data into CesiumJS
See also
Functions
Link copied to clipboard
suspend fun createTilesetForRealityDataId(iTwinId: String, realityDataId: String, type: ITwinPlatform.RealityDataType? = definedExternally, rootDocument: String? = definedExternally): Cesium3DTileset
Create a tileset for the specified reality data id. This function only works with 3D Tiles meshes and point clouds.
Link copied to clipboard
fun createTilesetForRealityDataIdAsync(iTwinId: String, realityDataId: String, type: ITwinPlatform.RealityDataType? = definedExternally, rootDocument: String? = definedExternally): Promise<Cesium3DTileset>
Link copied to clipboard
suspend fun createTilesetFromIModelId(iModelId: String, options: Cesium3DTileset.ConstructorOptions? = definedExternally): Cesium3DTileset?
Create a Cesium3DTileset for the given iModel id using iTwin's Mesh Export API.
Link copied to clipboard
fun createTilesetFromIModelIdAsync(iModelId: String, options: Cesium3DTileset.ConstructorOptions? = definedExternally): Promise<Cesium3DTileset?>