Main Page Class List Class Members

# NvBlastActorDesc Struct Reference

`#include <NvBlastTypes.h>`

Inheritance diagram for NvBlastActorDesc:

List of all members.

## Public Attributes
const float * | initialBondHealths
const float * | initialSupportChunkHealths
float | uniformInitialBondHealth
float | uniformInitialLowerSupportChunkHealth

## Detailed Description

Actor descriptor, used to create an instance of an NvBlastAsset with NvBlastFamilyCreateFirstActor

See NvBlastFamilyCreateFirstActor.

## Member Data Documentation

const float* NvBlastActorDesc::initialBondHealths

Initial bond healths. If not NULL, this array must be of length NvBlastAssetGetChunkCount(asset, logFn). If NULL, uniformInitialBondHealth must be set.

const float* NvBlastActorDesc::initialSupportChunkHealths

Initial health of all support chunks. If not NULL, this must be of length NvBlastAssetGetSupportChunkCount(asset, logFn).nodeCount. The elements in the initialSupportChunkHealth array will correspond to the chunk indices in the NvBlastAssetGetSupportGraph(asset, logFn).chunkIndices array. Every descendent of a support chunk will have its health initialized to its ancestor support chunk's health, so this initializes all lower-support chunk healths. If NULL, uniformInitialLowerSupportChunkHealth must be set.

float NvBlastActorDesc::uniformInitialBondHealth

Initial health of all bonds, if initialBondHealths is NULL (see initialBondHealths).

float NvBlastActorDesc::uniformInitialLowerSupportChunkHealth

Initial health of all lower-support chunks, if initialSupportChunkHealths is NULL (see initialSupportChunkHealths).

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

- sdk/lowlevel/include/NvBlastTypes.h