VoxelContent

open external class VoxelContent(source)
To construct a VoxelContent, call [VoxelContent.fromMetadataArray] or [VoxelContent.fromGltf]. Do not call the constructor directly.
An object representing voxel content for a [Cesium3DTilesVoxelProvider].

See also

Types

Link copied to clipboard
external object Companion

Properties

Link copied to clipboard
external val metadata: ReadonlyArray<TypedArray<*, *, *, *>>

The metadata for this voxel content. The metadata is an array of typed arrays, one for each field. The data for one field is a flattened 3D array ordered by X, then Y, then Z.