#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 |
Detailed Description
Collision volume descriptor for a chunk
Constructor & Destructor Documentation
nvidia::apex::CollisionVolumeDesc::CollisionVolumeDesc | ( | ) | [inline] |
Member Function Documentation
void nvidia::apex::CollisionVolumeDesc::setToDefault | ( | ) | [inline] |
Set CollisionVolumeDesc to default values
Member Data Documentation
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.
The documentation for this struct was generated from the following file:
Generated on Fri Dec 15 2017 13:58:22 Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.