#include <NvBlastTkFramework.h>

Public Types | |
| enum | BondFlags { NoFlags = 0, BondJointed = (1 << 0) } |
Public Member Functions | |
| TkAssetDesc () | |
Public Attributes | |
| const uint8_t * | bondFlags |
Used to create a TkAsset. This may be used by an authoring tool to describe the asset to be created.
The TkAssetDesc is a simple extension of the low-level NvBlastAsset descriptor, NvBlastAssetDesc.
Flags which may be associated with each bond described in the base NvBlastAssetDesc.
| NoFlags | |
| BondJointed |
If this flag is set then a TkJoint will be created joining the support chunks jointed by the bond. These joints will remain "quiet" until the actor is split in such a way that the joint joins two different actors. In that case, a TkJointUpdateEvent will be dispatched with subtype External. (See TkJointUpdateEvent.) |
| Nv::Blast::TkAssetDesc::TkAssetDesc | ( | ) | [inline] |
Constructor sets sane default values. The zero chunkCount will cause TkFramework::createAsset(...) to fail, though gracefully.
| const uint8_t* Nv::Blast::TkAssetDesc::bondFlags |
An array of size bondCount, see BondFlags. If NULL, all flags are assumed to be NoFlags.