Skip to content

KBE3D / KBCore / Cesium / ITwinData / createTilesetForRealityDataId

函数: createTilesetForRealityDataId()

createTilesetForRealityDataId(options: { iTwinId: string; realityDataId: string; type?: RealityDataType; rootDocument?: string; tilesetOptions?: ConstructorOptions; }): Promise<Cesium3DTileset>

Create a tileset for the specified reality data id. This function only works with 3D Tiles meshes and point clouds.

If the <code>type</code> or <code>rootDocument</code> are not provided this function will first request the full metadata for the specified reality data to fill these values.

The <code>maximumScreenSpaceError</code> of the resulting tileset will default to 4, unless it is explicitly overridden with the given tileset options.

参数

options

iTwinId

string

The id of the iTwin to load data from

realityDataId

string

The id of the reality data to load

type?

RealityDataType

The type of this reality data

rootDocument?

string

The path of the root document for this reality data

tilesetOptions?

ConstructorOptions

Object containing options to pass to the internally created Cesium3DTileset.

返回

Promise<Cesium3DTileset>

KBE3D @3.0.0 Copyright © 2024-present KBE3D