Public Member Functions | Public Attributes
nvidia::apex::CollisionVolumeDesc Struct Reference

#include <ExplicitHierarchicalMesh.h>

List of all members.

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.

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 Sat Dec 1 2018 15:51:53

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