Difference between revisions of "Plugin (lx-plugin.hpp)"

From The Foundry MODO SDK wiki
Jump to: navigation, search
Line 1: Line 1:
 +
{{DISPLAYTITLE:Plugin (lx-plugin.hpp)}}
 
This header declares the API used by all plug-ins to link to the main system.
 
This header declares the API used by all plug-ins to link to the main system.
  

Revision as of 18:27, 16 August 2013

This header declares the API used by all plug-ins to link to the main system.

  • thisModule -- global variable representing the module exported to nexus. Using this directly is deprecated.
  • initialize() -- plug-in entry point called when the plug-in is loaded, used for initializing servers. The main() for plug-ins.
  • cleanup() -- optional plug-in entry point called on exit.