Nv::Blast::TkJointUpdateEvent Struct Reference

#include <NvBlastTkEvent.h>

List of all members.

Public Types

enum  { EVENT_TYPE = TkEvent::JointUpdate }

Public Attributes

TkJointjoint
 The joint being updated.
Subtype subtype
 The type of update event this is (see Subtype).


Detailed Description

Payload for the TkEvent::JointUpdate events

Event type sent when a TkJoint's TkActor references change. This may indicate a joint becoming external, simply changing actors when split events occur on one or both of the actors, or when one or both of the actors are destroyed.


Member Enumeration Documentation

anonymous enum

Enumerator:
EVENT_TYPE 

Enumerator:
External  A joint that used to be internal to a single TkActor now joins two different TkActors.
Changed  One or both of the joint's attached TkActors has changed. The previous TkActors were distinct, however, differentiating this from the JointExternal case.
Unreferenced  The joint's actors have been set to NULL. The joint will not be used again, and the user may release the TkJoint at this time.


Member Data Documentation

The joint being updated.

The type of update event this is (see Subtype).


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