CalcVertexMap



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 09/05/2004 at 11:49, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   8.206 
    Platform:      
    Language(s) :     C++  ;

    ---------
    Hi,
     
    I want to retrieve the vertex map information from an object, but I don't understand the CalcVertexMap function

    Real* CalcVertexMap(_<_a title="class baseobject : public baselist2d" href= "mk:@msitstore:c:\program%20files\maxon\cinema_4d_r8\r8sdkchm2003-10-02.chm::/pages/c4d_baseobject/class_baseobject42.html"_>_ BaseObject* modif_<_h4_>_/H4>

    Get an array of vertex weights. You must free it afterward_<_a class=linkfn href= "mk:@msitstore:c:\program%20files\maxon\cinema_4d_r8\r8sdkchm2003-10-02.chm::/pages/c4d_memory/defines_c4d_memory102.html#gefree5"_>_free5">GeFr_<_h5_>_A>_<_h5_>_

    Return

    > Real*
    >
    >> The address of the weights array or NULL. The caller owns the pointed array.
    >>
    >> _
    >
    > _<_h5_>_ Parameters
    >
    > <_<_a title="class baseobject : public baselist2d" href= "mk:@msitstore:c:\program%20files\maxon\cinema_4d_r8\r8sdkchm2003-10-02.chm::/pages/c4d_baseobject/class_baseobject42.html"_>_class_BaseObject42.html">BaseObject* modifier_
    >
    >> The modifier object. The caller owns the pointed object.
    >>
    >>  
    What is the modifier parameter?
    I am using

        
        
        
        
        Real *wadr = ToPoint(oPolyObject)->CalcVertexMap(NULL);
        
        
        
    

    but the result is always NULL
    Thanks


Log in to reply