Skip to content

KBE3D / KBCore / Cesium / Cesium3DTilesVoxelProvider / ConstructorOptions

接口: ConstructorOptions

Initialization options for the Cesium3DTilesVoxelProvider constructor

属性

className

className: string

The class in the tileset schema describing voxel metadata.


names

names: string[]

The metadata names.


types

types: MetadataType[]

The metadata types.


componentTypes

componentTypes: MetadataComponentType[]

The metadata component types.


shape

shape: VoxelShapeType

The VoxelShapeType.


dimensions

dimensions: Cartesian3

The number of voxels per dimension of a tile. This is the same for all tiles in the dataset.


paddingBefore?

optional paddingBefore: Cartesian3

The number of padding voxels before the tile. This improves rendering quality when sampling the edge of a tile, but it increases memory usage.


paddingAfter?

optional paddingAfter: Cartesian3

The number of padding voxels after the tile. This improves rendering quality when sampling the edge of a tile, but it increases memory usage.


globalTransform?

optional globalTransform: Matrix4

A transform from local space to global space.


shapeTransform?

optional shapeTransform: Matrix4

A transform from shape space to local space.


minBounds?

optional minBounds: Cartesian3

The minimum bounds.


maxBounds?

optional maxBounds: Cartesian3

The maximum bounds.


minimumValues?

optional minimumValues: number[][]

The metadata minimum values.


maximumValues?

optional maximumValues: number[][]

The metadata maximum values.


maximumTileCount?

optional maximumTileCount: number

The maximum number of tiles that exist for this provider. This value is used as a hint to the voxel renderer to allocate an appropriate amount of GPU memory. If this value is not known it can be undefined.

KBE3D @3.0.0 Copyright © 2024-present KBE3D