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

Central position for the chunk's volume

Stop for child indices

Index of first child

Index of parent (UINT32_MAX denotes no parent)

Field for user to associate with external data

Volume of the chunk


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