DracoPointCloudData

data class DracoPointCloudData(val positions: FloatArray, val colors: ByteArray, val pointCount: Int, val metadataText: String?)

Raw point cloud geometry + metadata decoded from a Draco-compressed buffer.

Constructors

Link copied to clipboard
constructor(positions: FloatArray, colors: ByteArray, pointCount: Int, metadataText: String?)

Properties

Link copied to clipboard

Interleaved r,g,b,a uint8 0-255 (size == pointCount * 4).

Link copied to clipboard

The single string entry written by DracoCodec.encodePointCloud into Draco's binary metadata section (see DracoFiles), or null if the buffer carries none.

Link copied to clipboard
Link copied to clipboard

Interleaved x,y,z float32 meters, world space (size == pointCount * 3).