TP_FreePShape_CB Struct Reference

#include <c4d_particles.h>

详细描述

Callback interface for the free-pshape event.
使用 TP_MasterSystem::Reg_DeletePShape_CB() and TP_MasterSystem::UReg_DeletePShape_CB() to register and remove the callback.

Public Attributes

void(*  FreePShape )( TP_FreePShape_CB *cb, Int32 pid, const TP_PShapePtr &shape)

Member Data Documentation

◆  FreePShape

void(* FreePShape( TP_FreePShape_CB *cb, Int32 pid, const TP_PShapePtr &shape)

Called when shape of particle pid is freed.

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