Init, alloc, etc.



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

    On 09/07/2008 at 06:27, xxxxxxxx wrote:

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

    ---------
    Hi.
    At the moment I'm programming an ObjectData-Plugin. I have to commit I don't really understand the chapter "Plugin structure" from the SDK. Can someone please tell me, when the methods alloc and init are called and for what alloc is used?



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

    On 14/07/2008 at 03:36, xxxxxxxx wrote:

    The Alloc function creates a new instance of the ObjectData. You pass the pointer of the Alloc function in RegisterObjectplugin.

    Check the docu for info about the Init() function.

    cheers,
    Matthias


Log in to reply