#include <NxDestructibleAsset.h>
Public Member Functions | |
| PX_INLINE | NxDestructibleAssetCookingDesc () |
| constructor sets to default. | |
| PX_INLINE void | setToDefault () |
| (re)sets the structure to the default. | |
| PX_INLINE bool | isValid () const |
Public Attributes | |
| NxDestructibleChunkDesc * | chunkDescs |
| physx::PxU32 | chunkDescCount |
| NxDestructibleBehaviorGroupDesc | defaultBehaviorGroupDesc |
| NxDestructibleBehaviorGroupDesc * | behaviorGroupDescs |
| physx::PxU32 | behaviorGroupDescCount |
| physx::PxI8 | RTFractureBehaviorGroup |
| NxDestructibleGeometryDesc * | geometryDescs |
| physx::PxU32 | geometryDescCount |
Destructible authoring structure.
Descriptor for the cookChunk() method of NxDestructibleAssetAuthoring
| PX_INLINE physx::apex::NxDestructibleAssetCookingDesc::NxDestructibleAssetCookingDesc | ( | ) |
constructor sets to default.
| PX_INLINE bool physx::apex::NxDestructibleAssetCookingDesc::isValid | ( | ) | const |
Returns true iff an object can be created using this descriptor.
| PX_INLINE void physx::apex::NxDestructibleAssetCookingDesc::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.
| NxDestructibleBehaviorGroupDesc physx::apex::NxDestructibleAssetCookingDesc::defaultBehaviorGroupDesc |
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.