Open Search
    Effector_PassData Struct Reference

    #include <c4d_baseeffectordata.h>

    Detailed Description

    Message struct for the MSG_EXECUTE_EFFECTOR message.
    Either op or md must be filled, and weight should be normally set to 1.0.

    Public Member Functions

     Effector_PassData ()
     

    Public Attributes

    const BaseObjectop
     
    MoDatamd
     
    Float weight
     
    BaseThreadthread
     
    EffectorDataStruct effectorData
     

    Constructor & Destructor Documentation

    ◆ Effector_PassData()

    Default constructor.

    Member Data Documentation

    ◆ op

    const BaseObject* op

    The object that the MoData belongs to. Used for its matrix.

    ◆ md

    MoData* md

    The motion data to be modified.

    ◆ weight

    Float weight

    An additional strength value for the effector. The result is weight * effectors_own_strength * its_falloff * effector_values = end_strength of effect on any particular particle.

    ◆ thread

    BaseThread* thread

    The thread the effector is being executed in.

    ◆ effectorData

    EffectorDataStruct effectorData

    Internal effector data, this has to be used for Effector_PassValueData::effectorData for a following MSG_SAMPLE_EFFECTOR_VALUE message.