APEX Framework: nvidia::apex::DestructibleGeometryDesc Class Reference

NVIDIA APEX

nvidia::apex::DestructibleGeometryDesc Class Reference

#include <DestructibleAsset.h>

Inheritance diagram for nvidia::apex::DestructibleGeometryDesc:
nvidia::apex::ApexDesc

List of all members.

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 CollisionVolumeDesccollisionVolumeDesc

Detailed Description

Destructible authoring structure.

Descriptor to build one chunk in a fracture hierarchy.


Member Function Documentation

PX_INLINE bool nvidia::apex::DestructibleGeometryDesc::isValid ( ) const

Returns true iff an object can be created using this descriptor.

Reimplemented from nvidia::apex::ApexDesc.


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:38

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