Open Search
    TP_FreeParticle_CB Struct Reference

    #include <c4d_particles.h>

    Detailed Description

    Callback interface for the free-particle event.
    Use 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.

    Parameters
    [in]cbThe TP_FreeParticle_CB callback object.
    [in]pidThe particle ID: 0 <= pid < msys->NumParticles()