#include <NvBlastExtExporterJsonCollision.h>
Public Member Functions | |
| JsonCollisionExporter () | |
| bool | writeCollision (const char *path, uint32_t meshCount, const uint32_t *meshOffsets, const CollisionHull *hulls) |
| Nv::Blast::JsonCollisionExporter::JsonCollisionExporter | ( | ) | [inline] |
| bool Nv::Blast::JsonCollisionExporter::writeCollision | ( | const char * | path, | |
| uint32_t | meshCount, | |||
| const uint32_t * | meshOffsets, | |||
| const CollisionHull * | hulls | |||
| ) |
Method creates file with given path and serializes given array of arrays of convex hulls to it in JSON format.
| [in] | path | Output file path |
| [in] | hulls | Array of arrays of convex hull descriptors. Each array contain array of convex hulls for chunk (hulls[0] - convexes for chunk 0, etc.) |