NvBlastActorDesc Struct Reference

#include <NvBlastTypes.h>

Inheritance diagram for NvBlastActorDesc:

Nv::Blast::TkActorDesc

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

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

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.

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

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


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