Appearance
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?
optionalname:string
The name of the I3S dataset.
show?
optionalshow:boolean
Determines if the dataset will be shown.
geoidTiledTerrainProvider?
optionalgeoidTiledTerrainProvider: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?
optionalcesium3dTilesetOptions: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?
optionalshowFeatures:boolean
Determines if the features will be shown.
adjustMaterialAlphaMode?
optionaladjustMaterialAlphaMode: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?
optionalapplySymbology:boolean
Determines if the I3S symbology will be parsed and applied for the layers.
calculateNormals?
optionalcalculateNormals:boolean
Determines if the flat normals will be generated for I3S geometry without normals.
