#include <ExplicitHierarchicalMesh.h>
Public Member Functions | |
CollisionVolumeDesc () | |
void | setToDefault () |
Public Attributes | |
ConvexHullMethod::Enum | mHullMethod |
float | mConcavityPercent |
float | mMergeThreshold |
uint32_t | mRecursionDepth |
uint32_t | mMaxVertexCount |
uint32_t | mMaxEdgeCount |
uint32_t | mMaxFaceCount |
Collision volume descriptor for a chunk
nvidia::apex::CollisionVolumeDesc::CollisionVolumeDesc | ( | ) | [inline] |
void nvidia::apex::CollisionVolumeDesc::setToDefault | ( | ) | [inline] |
Set CollisionVolumeDesc to default values
Allowed concavity if mHullMethod = ConvexHullMethod::CONVEX_DECOMPOSITION. Default = 4.0.
ConvexHullMethod::Enum nvidia::apex::CollisionVolumeDesc::mHullMethod |
How to generate convex hulls for a chunk. See ConvexHullMethod::Enum. Default = CONVEX_DECOMPOSITION.
The maximum number of edges each hull may have. If 0, there is no limit. Default = 0.
The maximum number of faces each hull may have. If 0, there is no limit. Default = 0.
The maximum number of vertices each hull may have. If 0, there is no limit. Default = 0.
Merge threshold if mHullMethod = ConvexHullMethod::CONVEX_DECOMPOSITION. Default = 4.0.
Recursion depth if mHullMethod = ConvexHullMethod::CONVEX_DECOMPOSITION. Depth = 0 generates a single convex hull. Higher recursion depths may generate more convex hulls to fit the mesh. Default = 0.