Writing Plug-ins
 
 
 

This topic describes the basic information related to writing plug-ins.

Plug-in Basics

Most Mudbox plug-ins are represented in memory using the class Plugin. However, when you write a custom plug-in, you must use the macro MB_PLUGIN to create an instance of the Plugin class.

In order to expose a plug-in's functionality to Mudbox, you must hook into the Mudbox RTTI system (see Run-Time Type Information (RTTI)). This is done using the macros DECLARE_CLASS and IMPLEMENT_CLASS.

Plug-in Base Classes

All plug-ins derive either directly or indirectly from the Node class. The following classes are used as base classes for specialized kinds of plug-ins:

See Also