TP_FreeParticle_CB Struct Reference

#include <c4d_particles.h>

详细描述

Callback interface for the free-particle event.
使用 TP_MasterSystem::Reg_FreeParticle_CB() and TP_MasterSystem::UReg_FreeParticle_CB() to register and remove the callback.

Public Attributes

void(*  FreeParticle )( TP_FreeParticle_CB *cb, Int32 pid)

Member Data Documentation

◆  FreeParticle

void(* FreeParticle( TP_FreeParticle_CB *cb, Int32 pid)

Called when particle pid is freed.

参数
[in] cb The TP_FreeParticle_CB callback object.
[in] pid The particle ID: 0 <= pid < msys -> NumParticles()