Detailed Description

Enumerations

enum  {
  TP_MSG_PGROUP_PREREMOVE ,
  TP_MSG_PGROUP_TREECHANGED ,
  TP_MSG_DCHANNEL_PREREMOVE ,
  TP_MSG_DCHANNEL_CHANGED ,
  TP_MSG_GET_PSHAPEINTERFACE ,
  TP_MSG_GET_COLLISIONINTERFACE ,
  TP_MSG_OBJECT_GETPARTICLES
}
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
TP_MSG_PGROUP_PREREMOVE 

Sent before a PGroup is removed in the Thinking Particles settings. data points to a TP_PGroupPreRemove.

TP_MSG_PGROUP_TREECHANGED 

Sent when the PGroup structure is changed, for example by renaming, adding or reordering the groups. data is nullptr.

TP_MSG_DCHANNEL_PREREMOVE 

Sent before a data channel is removed. data is the channel number, cast it to Int32.

TP_MSG_DCHANNEL_CHANGED 

Sent when the data channel list is changed. data is nullptr.

TP_MSG_GET_PSHAPEINTERFACE 

Sent to get the PShape interface. data points to a TP_PShapeInterface pointer. Set this pointer to points to your own PShape interface.
The sender owns the pointed pointer. The receiver owns the pointed interface.

TP_MSG_GET_COLLISIONINTERFACE 

Sent to get the collision interface. data points to a TP_CollisionInterface pointer. Set this pointer to points to your own collision interface.
The sender owns the pointed pointer. The receiver owns the pointed interface.

TP_MSG_OBJECT_GETPARTICLES 

Can be sent by anyone to the ParticleGeometry object to get its particles. Used for example by the PyroCluster material.
data points to a TP_PGroupArray that is filled with particles. The sender owns the pointed array.