Public Member Functions | Public Attributes
nvidia::apex::DestructibleAssetCookingDesc Class Reference

#include <DestructibleAsset.h>

List of all members.

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

DestructibleChunkDescchunkDescs
uint32_t chunkDescCount
DestructibleBehaviorGroupDesc defaultBehaviorGroupDesc
DestructibleBehaviorGroupDescbehaviorGroupDescs
uint32_t behaviorGroupDescCount
int8_t RTFractureBehaviorGroup
DestructibleGeometryDescgeometryDescs
uint32_t geometryDescCount
nvidia::IntPair * supportGraphEdges
uint32_t supportGraphEdgeCount

Detailed Description

Destructible authoring structure.

Descriptor for the cookChunk() method of DestructibleAssetAuthoring


Constructor & Destructor Documentation

PX_INLINE nvidia::apex::DestructibleAssetCookingDesc::DestructibleAssetCookingDesc ( )

constructor sets to default.


Member Function Documentation

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.


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.

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 Sat Dec 1 2018 15:51:53

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