ITwinPlatform

Default settings for accessing the iTwin platform.
Experimental

This feature is not final and is subject to change without Cesium's standard deprecation policy.

See:

Members

static Cesium.ITwinPlatform.apiEndpoint : string|Resource

Gets or sets the default iTwin API endpoint.
Default Value: "https://api.bentley.com"
Experimental

This feature is not final and is subject to change without Cesium's standard deprecation policy.

static Cesium.ITwinPlatform.defaultAccessToken : string|undefined

Gets or sets the default iTwin access token. This token should have the itwin-platform scope. This value will be ignored if ITwinPlatform.defaultShareKey is defined.
Experimental

This feature is not final and is subject to change without Cesium's standard deprecation policy.

static Cesium.ITwinPlatform.defaultShareKey : string|undefined

Gets or sets the default iTwin share key. If this value is provided it will override ITwinPlatform.defaultAccessToken in all requests. Share keys can be generated using the iTwin Shares api https://developer.bentley.com/apis/access-control-v2/operations/create-itwin-share/
Experimental

This feature is not final and is subject to change without Cesium's standard deprecation policy.

static Cesium.ITwinPlatform.ExportStatus : string

Status states for a mesh-export export. Valid values are: NotStarted, InProgress, Complete, Invalid
Properties:
Name Type Description
NotStarted string
InProgress string
Complete string
Invalid string

static Cesium.ITwinPlatform.ExportType : string

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

static Cesium.ITwinPlatform.RealityDataType : string

Types of Reality data. This is a partial list of types we know we can support
Properties:
Name Type Description
Cesium3DTiles string
PNTS string
RealityMesh3DTiles string
Terrain3DTiles string
GaussianSplat3DTiles string
KML string
GeoJSON string
Unstructured string
See:
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.