VoxelBuffer
A read-only container for the voxel buffer information generated during scanning.
Declaration
data class VoxelBufferConstructors
constructor(positions: FloatArray, colors: ByteArray, normals: FloatArray, voxelSize: Float)
Parameters
| Name | Type | Summary |
|---|---|---|
| positions | FloatArray | - |
| colors | ByteArray | - |
| normals | FloatArray | - |
| voxelSize | Float | - |
Properties
| Name | Type | Summary |
|---|---|---|
| colors | ByteArray | The colors of the voxels. Array of 4 bytes per voxel. |
| normals | FloatArray | The normals of the voxels. Array of 3 floats per voxel. |
| positions | FloatArray | The positions of the voxels. Array of 3 floats per voxel. |
| voxelSize | Float | The size of voxels. |