ConstructorOptions

sealed interface ConstructorOptions(source)

Initialization options for the I3SDataProvider constructor

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

See also

Properties

Link copied to clipboard

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

Link copied to clipboard
abstract var applySymbology: Boolean?

Determines if the I3S symbology will be parsed and applied for the layers. Default value - false

Link copied to clipboard
abstract var calculateNormals: Boolean?

Determines if the flat normals will be generated for I3S geometry without normals. Default value - false

Link copied to clipboard

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 url and show which are overridden by values from I3SDataProvider.

Link copied to clipboard

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.

Link copied to clipboard
abstract var name: String?

The name of the I3S dataset.

Link copied to clipboard
abstract var show: Boolean?

Determines if the dataset will be shown. Default value - true

Link copied to clipboard
abstract var showFeatures: Boolean?

Determines if the features will be shown. Default value - false