Main Page Class List Class Members

# NvBlastChunk Struct Reference

`#include <NvBlastTypes.h>`

List of all members.

## Public Attributes
float | centroid [3]
uint32_t | childIndexStop
uint32_t | firstChildIndex
uint32_t | parentChunkIndex
uint32_t | userData
float | volume

## Detailed Description

Represents a piece of a destructible asset which may be realized as an entity with a physical and graphical component.

Chunks may form a hierarchical decomposition of the asset. They contain parent and child chunk index information which defines the hierarchy. The parent and child chunk indices are their positions with the NvBlastAsset::chunks array.

Child chunk indices are contiguous, starting at firstChildIndex and ending with childIndexStop - 1.

## Member Data Documentation

float NvBlastChunk::centroid[3]

Central position for the chunk's volume

uint32_t NvBlastChunk::childIndexStop

Stop for child indices

uint32_t NvBlastChunk::firstChildIndex

Index of first child

uint32_t NvBlastChunk::parentChunkIndex

Index of parent (UINT32_MAX denotes no parent)

uint32_t NvBlastChunk::userData

Field for user to associate with external data

float NvBlastChunk::volume

Volume of the chunk

The documentation for this struct was generated from the following file:

- sdk/lowlevel/include/NvBlastTypes.h