NvBlastChunkDesc

Defined in lowlevel/NvBlastTypes.h

Enumerations

Variables

  • centroid: Central position in chunk.

  • flags: See Flags enum for possible flags.

  • parentChunkDescIndex: Index of this chunk's parent.

  • userData: User-supplied data which will be accessible to the user in chunk fracture events.

  • volume: Volume of chunk.

struct NvBlastChunkDesc

Chunk descriptor used to build an asset.

See NvBlastAssetDesc.

Public Types

enum Flags

Values:

enumerator NoFlags
enumerator SupportFlag

If this flag is set then the chunk will become a support chunk, unless an ancestor chunk is also marked as support.

Public Members

float centroid[3]

Central position in chunk.

float volume

Volume of chunk.

uint32_t parentChunkDescIndex

Index of this chunk’s parent.

If this is a root chunk, then this value must be UINT32_MAX.

uint32_t flags

See Flags enum for possible flags.

uint32_t userData

User-supplied data which will be accessible to the user in chunk fracture events.