ITwinPlatform

external object ITwinPlatform(source)

Types

Link copied to clipboard
external interface ExportStatus

Status states for a mesh-export export. Valid values are: NotStarted, InProgress, Complete, Invalid

Link copied to clipboard
external interface ExportType

Types of mesh-export exports. CesiumJS only supports loading 3DTILES type exports. Valid values are: IMODEL, CESIUM, 3DTILES

Link copied to clipboard
external interface RealityDataType

Types of Reality data. This is a partial list of types we know we can support

Properties

Link copied to clipboard
external var apiEndpoint: Resource

Gets or sets the default iTwin API endpoint.

Link copied to clipboard
external var defaultAccessToken: String?

Gets or sets the default iTwin access token. This token should have the itwin-platform scope.

Link copied to clipboard
external var defaultShareKey: String?

Gets or sets the default iTwin share key. If this value is provided it will override {@link ITwinPlatform.defaultAccessToken} in all requests.