#include <DestructibleAsset.h>
Public Member Functions | |
PX_INLINE | DestructibleAssetCookingDesc () |
constructor sets to default. | |
PX_INLINE void | setToDefault () |
(re)sets the structure to the default. | |
PX_INLINE bool | isValid () const |
Public Attributes | |
DestructibleChunkDesc * | chunkDescs |
uint32_t | chunkDescCount |
DestructibleBehaviorGroupDesc | defaultBehaviorGroupDesc |
DestructibleBehaviorGroupDesc * | behaviorGroupDescs |
uint32_t | behaviorGroupDescCount |
int8_t | RTFractureBehaviorGroup |
DestructibleGeometryDesc * | geometryDescs |
uint32_t | geometryDescCount |
nvidia::IntPair * | supportGraphEdges |
uint32_t | supportGraphEdgeCount |
Detailed Description
Destructible authoring structure.
Descriptor for the cookChunk() method of DestructibleAssetAuthoring
Member Function Documentation
PX_INLINE bool nvidia::apex::DestructibleAssetCookingDesc::isValid | ( | ) | const |
Returns true iff an object can be created using this descriptor.
Reimplemented from nvidia::apex::ApexDesc.
Member Data Documentation
The size of the behaviorGroupDescs array. This must be positive.
Beginning of array of descriptors, one for each behavior group.
The size of the chunkDescs array. This must be positive.
Beginning of array of descriptors, one for each chunk.
Default behavior group (corresponds to index of -1).
The size of the geometryDescs array. This must be positive.
Beginning of array of descriptors, one for each mesh part.
RT fracture behavior group
Number of index pairs in supportGraphEdges.
nvidia::IntPair* nvidia::apex::DestructibleAssetCookingDesc::supportGraphEdges |
Index pairs that represent chunk connections in the support graph. The indices refer to the chunkDescs array. Only sibling chunks, i.e. chunks at equal depth may be connected.
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.