Writing Plug-ins
 
 
 

This topic describes the basic information related to writing the various different kinds of plug-ins.

Plug-in Basics

Most Mudbox plug-ins are represented in memory using the class Plugin, however when you write a plug-in you use the macro MB_PLUGIN to create an instance of the Plug-in 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