Each individual plug-in is identified by a Class ID (Class_ID) and the plug-in category is identified by a super class ID (SClass_ID).
In addition to the class descriptor (see the topic Class Descriptors) a plug-in that derives from Animatable (which is true for most plug-ins) must provide implementation of the following functions to identify themselves to 3ds Max.
- Animatable::ClassID() - This method must return a unique Class_IDfor the object. If two IDs conflict, the system will only load the first one it finds, therefore all IDs must be unique to
ensure they are loaded properly. The program gencid.exe is provided in the 3ds Max SDK to generate these randomly.
- Animatable::SuperClassID()- This method must return a SClass_IDwhich is a system defined constant describing the class this plug-in class was derived from.
- Animatable::GetClassName()- This method must return the name of the plug-in class. This name is usually used internally for debugging purposes. For
Material plug-ins this method is used to put up the material "type" name in the Material Editor. The default implementation
of this method returns _M("Animatable").