Cesium3DTilesVoxelProvider

external class Cesium3DTilesVoxelProvider(options: Any)(source)

A VoxelProvider that fetches voxel data from a 3D Tiles tileset.

Implements the VoxelProvider interface.

See also

Constructors

Link copied to clipboard
constructor(options: Any)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
sealed interface RequestDataOptions

Properties

Link copied to clipboard

Gets the metadata component types. This should not be called before VoxelProvider.ready returns true.

Link copied to clipboard

Gets the number of voxels per dimension of a tile. This is the same for all tiles in the dataset. This should not be called before VoxelProvider.ready returns true.

Link copied to clipboard

A transform from local space to global space. If undefined, the identity matrix will be used instead.

Link copied to clipboard

Gets the maximum bounds. If undefined, the shape's default maximum bounds will be used instead. This should not be called before VoxelProvider.ready returns true.

Link copied to clipboard

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. This should not be called before VoxelProvider.ready returns true.

Link copied to clipboard

Gets the metadata maximum values. This should not be called before VoxelProvider.ready returns true.

Link copied to clipboard

Gets the minimum bounds. If undefined, the shape's default minimum bounds will be used instead. This should not be called before VoxelProvider.ready returns true.

Link copied to clipboard

Gets the metadata minimum values. This should not be called before VoxelProvider.ready returns true.

Link copied to clipboard

Gets the metadata names. This should not be called before VoxelProvider.ready returns true.

Link copied to clipboard

Gets the number of padding voxels after the tile. This improves rendering quality when sampling the edge of a tile, but it increases memory usage. This should not be called before VoxelProvider.ready returns true.

Link copied to clipboard

Gets the number of padding voxels before the tile. This improves rendering quality when sampling the edge of a tile, but it increases memory usage. This should not be called before VoxelProvider.ready returns true.

Link copied to clipboard

Gets the VoxelShapeType This should not be called before VoxelProvider.ready returns true.

Link copied to clipboard

A transform from shape space to local space. If undefined, the identity matrix will be used instead.

Link copied to clipboard

Gets the metadata types. This should not be called before VoxelProvider.ready returns true.

Functions

Link copied to clipboard

Requests the data for a given tile. The data is a flattened 3D array ordered by X, then Y, then Z. This function should not be called before VoxelProvider.ready returns true.