Open Search
    c4d_particleobject.h File Reference

    Classes

    struct  BaseParticle
     
    class  Particle
     
    struct  ParticleDetails
     
    class  ParticleTag
     
    class  ParticleObject
     

    Functions

    static Matrix CalcParticleMatrix (Particle *cp)
     

    Function Documentation

    ◆ CalcParticleMatrix()

    static Matrix CalcParticleMatrix ( Particle cp)
    static

    Calculates a particle matrix.
    This represents the position and direction of a particle as used when objects are aligned with a particle using the emitter Tangential option.

    Parameters
    [in]cpThe particle to get the matrix for. The caller owns the pointed particle.
    Returns
    The particle matrix.