UmbraPointCloud struct

Point cloud data.

Public variables

uint32_t numAttributes
Number of attributes.
const UmbraPointAttribute* attributes
An array of attributes.
uint64_t numPoints
Number of points.
const int32_t* data
Interleaved point data, for a total of numAttributes * numPoints values.
UmbraCoordinateSystem coordinateSystem
Coordinate system that the position data is in.

Variable details

const UmbraPointAttribute* UmbraPointCloud::attributes

An array of attributes.

The order must match the order in data.

const int32_t* UmbraPointCloud::data

Interleaved point data, for a total of numAttributes * numPoints values.

For example, a point cloud with only position (X/Y/Z) data and three points would be stored as X Y Z X Y Z X Y Z.

UmbraCoordinateSystem UmbraPointCloud::coordinateSystem

Coordinate system that the position data is in.

Only affects X Y and Z attributes.