Appearance
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?
optionalpaddingBefore: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?
optionalpaddingAfter: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?
optionalglobalTransform:Matrix4
A transform from local space to global space.
shapeTransform?
optionalshapeTransform:Matrix4
A transform from shape space to local space.
minBounds?
optionalminBounds:Cartesian3
The minimum bounds.
maxBounds?
optionalmaxBounds:Cartesian3
The maximum bounds.
minimumValues?
optionalminimumValues:number[][]
The metadata minimum values.
maximumValues?
optionalmaximumValues:number[][]
The metadata maximum values.
maximumTileCount?
optionalmaximumTileCount: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.
