Public Member Functions | Public Attributes
physx::apex::NxCollisionVolumeDesc Struct Reference

#include <ExplicitHierarchicalMesh.h>

List of all members.

Public Member Functions

 NxCollisionVolumeDesc ()
void setToDefault ()

Public Attributes

NxConvexHullMethod::Enum mHullMethod
physx::PxF32 mConcavityPercent
physx::PxF32 mMergeThreshold
physx::PxU32 mRecursionDepth
physx::PxU32 mMaxVertexCount
physx::PxU32 mMaxEdgeCount
physx::PxU32 mMaxFaceCount

Detailed Description

Collision volume descriptor for a chunk


Constructor & Destructor Documentation

physx::apex::NxCollisionVolumeDesc::NxCollisionVolumeDesc ( ) [inline]

Member Function Documentation

void physx::apex::NxCollisionVolumeDesc::setToDefault ( ) [inline]

Member Data Documentation

Allowed concavity if mHullMethod = NxConvexHullMethod::CONVEX_DECOMPOSITION. Default = 4.0.

How to generate convex hulls for a chunk. See NxConvexHullMethod::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 = NxConvexHullMethod::CONVEX_DECOMPOSITION. Default = 4.0.

Recursion depth if mHullMethod = NxConvexHullMethod::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 Mon Apr 28 2014 08:01:20

Copyright © 2012-2014 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.