THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/10/2010 at 16:01, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11.5
Platform: Windows ;
Language(s) : C++ ;
---------
Hi all,
So i'm now working on C++, but despite the really complete SDK, I still have some unanswered questions ...
1 - I'm creating a plugin object, this can have childs (and should have). Which update function do I have to create to get this updated only when it is selected or when it's childs or custom data values are changed ?
Now my public is :
virtual Bool Init(GeListNode *node); <--- this one is ok and understood
virtual Bool Message(GeListNode *node, LONG type, void *t_data); <--- this one updates too much and makes the object too heavy to manipulate.
static NodeData *Alloc(void) { return gNew Multicam; }
2 - I also have some problem with the understanding of "Dirty"... does it means that the concerned ''object'' has been changed and needs an update ?
3 - The last thing (for now) on what I had some troubles is the meaning of "virtual" (in virtual bool a.e) and "static".
Well it may look like stupid questions ...
Thanks in advance !
Mike.