#include <DestructibleAsset.h>
Public Member Functions | |
PX_INLINE | DestructibleGeometryDesc () |
constructor sets to default. | |
PX_INLINE void | setToDefault () |
(re)sets the structure to the default. | |
PX_INLINE bool | isValid () const |
Public Attributes | |
const nvidia::ExplicitHierarchicalMesh::ConvexHull ** | convexHulls |
uint32_t | convexHullCount |
const CollisionVolumeDesc * | collisionVolumeDesc |
Detailed Description
Destructible authoring structure.
Descriptor to build one chunk in a fracture hierarchy.
Constructor & Destructor Documentation
PX_INLINE nvidia::apex::DestructibleGeometryDesc::DestructibleGeometryDesc | ( | ) |
constructor sets to default.
Member Function Documentation
PX_INLINE bool nvidia::apex::DestructibleGeometryDesc::isValid | ( | ) | const |
Returns true iff an object can be created using this descriptor.
PX_INLINE void nvidia::apex::DestructibleGeometryDesc::setToDefault | ( | ) |
(re)sets the structure to the default.
Member Data Documentation
If convexHullCount = 0, then collisionVolumeDesc must not be NULL. In this case convex hulls will automatically be created for this geometry. See CollisionVolumeDesc.
The length of the convexHulls array. If this is positive, then convexHulls must point to a valid array of this size. If this is zero, then collisionVolumeDesc must not be NULL, and convex hulls will be automatically created for this geometry using collisionVolumeDesc.
const nvidia::ExplicitHierarchicalMesh::ConvexHull** nvidia::apex::DestructibleGeometryDesc::convexHulls |
The convex hulls associated with this chunk. These may be obtained from ExplicitHierarchicalMesh::convexHulls() if authoring using an ExplicitHierarchicalMesh. The length of the array is given by convexHullCount.
The documentation for this class 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.