Description
|
Retrieves voxel positions from an octree. See also the other octree related functions. |
C synopsis
|
const float* simGetOctreeVoxels(simInt octreeHandle,simInt* ptCnt,simVoid* reserved) |
C parameters |
ptCnt: a pointer receiving the number of voxels contained in the returned pointer.
reserved: reserved for future extensions. Set to NULL
|
C return value
|
NULL if operation was not successful or if the octree doesn't contain any voxels. Otherwise a pointer to the voxel X/Y/Z positions, relative to the octree reference frame
|
Lua synopsis
|
table voxels=simGetOctreeVoxels(number octreeHandle) |
Lua parameters |
Same as C-function
|
Lua return values
|
Same as C-function
|