![]() ![]() You use this program to create the class ids for your plug-ins. A program is provided with the SDK called Gencid.exe to generate these IDs, to avoid conflicts with existing plug-ins. The ClassDesc::ClassID() member function must return the unique ID for the plug-in object. ![]() Should invoke the default object creation process. Of this member function simply returns NULL. Some plug-ins allow the system to manage the creation process so their implementation Of the object because the loading process will take care of it. If the flag is TRUE, the plug-in may not have to perform any initialization The optional parameter passed to ClassDesc::Create() is a flag indicating if the class being created is going to be loaded from a diskįile. Typically this would be done using the new operator. The plug-in responds by allocating a new instance of its plug-inĬlass. (procedural object, modifier, controller, etc.), it will call the plug-in's ClassDesc::Create() member function. 3ds Max calls the ClassDesc::Create() member function when it needs a pointer to a new instance of the plug-in class.įor example, if 3ds Max is loading a file from disk containing a previously used plug-in ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |