Skip to content

KBE3D / KBCore / Cesium / I3SDataProvider / ConstructorOptions

接口: ConstructorOptions

Initialization options for the I3SDataProvider constructor

Examples

ts
// Increase LOD by reducing SSE
const cesium3dTilesetOptions = {
  maximumScreenSpaceError: 1,
};
const i3sOptions = {
  cesium3dTilesetOptions: cesium3dTilesetOptions,
};
ts
// Set a custom outline color to replace the color defined in I3S symbology
const cesium3dTilesetOptions = {
  outlineColor: Cesium.Color.BLUE,
};
const i3sOptions = {
  cesium3dTilesetOptions: cesium3dTilesetOptions,
  applySymbology: true,
};

属性

name?

optional name: string

The name of the I3S dataset.


show?

optional show: boolean

Determines if the dataset will be shown.


geoidTiledTerrainProvider?

optional geoidTiledTerrainProvider: ArcGISTiledElevationTerrainProvider | Promise<ArcGISTiledElevationTerrainProvider>

Tiled elevation provider describing an Earth Gravitational Model. If defined, geometry will be shifted based on the offsets given by this provider. Required to position I3S data sets with gravity-related height at the correct location.


cesium3dTilesetOptions?

optional cesium3dTilesetOptions: ConstructorOptions

Object containing options to pass to an internally created Cesium3DTileset. See Cesium3DTileset for list of valid properties. All options can be used with the exception of <code>url</code> and <code>show</code> which are overridden by values from I3SDataProvider.


showFeatures?

optional showFeatures: boolean

Determines if the features will be shown.


adjustMaterialAlphaMode?

optional adjustMaterialAlphaMode: boolean

The option to adjust the alpha mode of the material based on the transparency of the vertex color. When <code>true</code>, the alpha mode of the material (if not defined) will be set to BLEND for geometry with any transparency in the color vertex attribute.


applySymbology?

optional applySymbology: boolean

Determines if the I3S symbology will be parsed and applied for the layers.


calculateNormals?

optional calculateNormals: boolean

Determines if the flat normals will be generated for I3S geometry without normals.

KBE3D @3.0.0 Copyright © 2024-present KBE3D