#include <ExplicitHierarchicalMesh.h>
Public Member Functions | |
CollisionDesc () | |
void | setToDefault () |
Public Attributes | |
unsigned | mDepthCount |
CollisionVolumeDesc * | mVolumeDescs |
float | mMaximumTrimming |
Detailed Description
Collision descriptor
Constructor & Destructor Documentation
nvidia::apex::CollisionDesc::CollisionDesc | ( | ) | [inline] |
Constructor sets default values.
Member Function Documentation
void nvidia::apex::CollisionDesc::setToDefault | ( | ) | [inline] |
Set CollisionDesc to default values
Member Data Documentation
How many collision volume descriptors are in the mVolumeDescs array.
This count need not match the depth count of the destructible to be created. If it is greater than the depth count of the destructible, the extra volume descriptors will be ignored. If it is less than the depth count of the destructible, then mVolumeDescs[depthCount-1] will be used unless depthCount is zero. In that case, the defeult CollisionVolumeDesc() will be used.
This may be zero, in which case all volume descriptors will be the default values. If it is not zero, mVolumeDescs must be a valid pointer.
The maximum amount to trim overlapping collision hulls (as a percentage of the hulls' widths)
Default = 0.2f
Array of volume descriptors of length depthCount (may be NULL if depthCount is zero).
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.