Cesium3DTilesVoxelProvider

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

Implements the VoxelProvider interface.

Parameters

options

An object describing initialization options

See also

Constructors

Link copied to clipboard

Types

Link copied to clipboard
external object Companion
Link copied to clipboard
external interface ConstructorOptions

Initialization options for the Cesium3DTilesVoxelProvider constructor

Link copied to clipboard
external interface RequestDataOptions

Properties

Link copied to clipboard
external val availableLevels: Double?

The number of levels of detail containing available tiles in the tileset.

Link copied to clipboard
external val className: String

The metadata class for this tileset.

Link copied to clipboard

Gets the metadata component types.

Link copied to clipboard
external val dimensions: Cartesian3

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

Link copied to clipboard
external val globalTransform: Matrix4

A transform from local space to global space.

Link copied to clipboard
external val maxBounds: Cartesian3?

Gets the maximum bounds. If undefined, the shape's default maximum bounds will be used instead.

Link copied to clipboard
external val maximumTileCount: Double?

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.

Link copied to clipboard

Gets the metadata maximum values.

Link copied to clipboard
external val minBounds: Cartesian3?

Gets the minimum bounds. If undefined, the shape's default minimum bounds will be used instead.

Link copied to clipboard

Gets the metadata minimum values.

Link copied to clipboard

Gets the metadata names.

Link copied to clipboard
external val paddingAfter: Cartesian3

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.

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.

Link copied to clipboard
external val shape: VoxelShapeType
Link copied to clipboard
external val shapeTransform: Matrix4

A transform from shape space to local space.

Link copied to clipboard

Gets the metadata types.

Functions

Link copied to clipboard
suspend external fun requestData(options: Cesium3DTilesVoxelProvider.RequestDataOptions? = definedExternally): VoxelContent?

Requests the data for a given tile.

Link copied to clipboard