beastapi/beastpointcloud.h File Reference
The api for specifying point clouds in beast.
Adds a chunk of point data to a point cloud.
This can be called multiple times to keep temporary buffer bounded.
- Parameters
-
pointCloud | the point cloud to add vertices to. |
pointData | a pointer to an array of points |
normalData | a pointer to an array of normals for the points |
pointCount | the number of points and normals specified with this call. Behavior is undefined if vertexData or normalsData contains less than vertexCount vertices/normals |
- Returns
- The result of the operation.
Begins creation of a Point Cloud.
- Parameters
-
scene | the scene the point cloud should be a part of |
name | the name of the point cloud, must be unique within the scene. |
pointCloud | a pointer to a point cloud handle to store the result in. |
- Returns
- The result of the operation.
Finalizes a point cloud.
After this call it's impossible to add more points and it's possible to use the point cloud in a baking.
- Parameters
-
pointCloud | the point cloud to finalize |
- Returns
- The result of the operation.
Go to the source code of this file.