Run-Time Type Information (RTTI)
 
 
 

Mudbox uses its own run-time type information system. An instance of the class ClassDesc is assigned to each class derived from Node and holds information such as:

These ClassDesc instances are linked in a list so it's possible to enumerate the class and search for a class with a given name or given parent, and create instances of the class.

There are two macros defined in the SDK for creating a ClassDesc instance for a given class, these are: