APEX Framework: nvidia::apex::CollisionVolumeDesc Struct Reference

NVIDIA APEX

nvidia::apex::CollisionVolumeDesc Struct Reference

#include <ExplicitHierarchicalMesh.h>

List of all members.

Public Member Functions

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


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 Fri Dec 15 2017 13:58:38
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.