CLASS
VoxelBuffer
public class VoxelBuffer
A read-only container for the voxel buffer information generated during scanning.
Properties
positions
public var positions: UnsafeMutableBufferPointer\<Float\>
The positions of the voxels. Array of 3 floats per voxel.
- Attention: These pointers are valid as long as this class does not go out of scope.
colors
public var colors: UnsafeMutableBufferPointer\<UInt8\>
The colors of the voxels. Array of 4 bytes per voxel.
- Attention: These pointers are valid as long as this class does not go out of scope.
normals
public var normals: UnsafeMutableBufferPointer\<Float\>
The normals of the voxels. Array of 3 floats per voxel.
- Attention: These pointers are valid as long as this class does not go out of scope.
voxelSize
public var voxelSize: Float
The size of the voxels.