RavEngine
Loading...
Searching...
No Matches
physx::ConvexMeshBuilder Class Reference
Collaboration diagram for physx::ConvexMeshBuilder:
[legend]

Public Member Functions

 ConvexMeshBuilder (const bool buildGRBData)
 
bool build (const PxConvexMeshDesc &, PxU32 gaussMapVertexLimit, bool validateOnly=false, ConvexHullLib *hullLib=NULL)
 
bool save (PxOutputStream &stream, bool platformMismatch) const
 
bool copy (Gu::ConvexHullInitData &convexData)
 
bool loadConvexHull (const PxConvexMeshDesc &, ConvexHullLib *hullLib)
 
bool computeHullPolygons (const PxU32 &nbVerts, const PxVec3 *verts, const PxU32 &nbTriangles, const PxU32 *triangles, PxAllocatorCallback &inAllocator, PxU32 &outNbVerts, PxVec3 *&outVertices, PxU32 &nbIndices, PxU32 *&indices, PxU32 &nbPolygons, PxHullPolygon *&polygons)
 
bool computeGaussMaps ()
 
void computeMassInfo (bool lowerPrecision)
 
void computeInternalObjects ()
 
void computeSDF (const PxConvexMeshDesc &desc)
 
void setBigConvexData (BigConvexData *data)
 

Public Attributes

ConvexPolygonsBuilder hullBuilder
 

Protected Attributes

Gu::ConvexHullData mHullData
 
Gu::SDF * mSdfData
 
BigConvexData * mBigConvexData
 optional, only for large meshes! PT: redundant with ptr in chull data? Could also be end of other buffer
 
PxReal mMass
 
PxMat33 mInertia
 

The documentation for this class was generated from the following files: