#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 |
Destructible authoring structure.
Descriptor for the cookChunk() method of DestructibleAssetAuthoring
PX_INLINE nvidia::apex::DestructibleAssetCookingDesc::DestructibleAssetCookingDesc | ( | ) |
constructor sets to default.
PX_INLINE bool nvidia::apex::DestructibleAssetCookingDesc::isValid | ( | ) | const |
Returns true iff an object can be created using this descriptor.
PX_INLINE void nvidia::apex::DestructibleAssetCookingDesc::setToDefault | ( | ) |
(re)sets the structure to the default.
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.