|
AL_USDMaya
0.16.6
USD to Maya Bridge
|
This file contains a few macros and templates to help automate the tedious boiler plate setup of Maya import/export plugins. More...
#include "AL/maya/FileTranslatorOptions.h"#include "maya/MPxFileTranslator.h"#include "maya/MGlobal.h"#include "maya/MFileObject.h"Go to the source code of this file.
Classes | |
| class | AL::maya::FileTranslatorBase< T > |
| A utility class that provides a 'unique' base class to derive new translator from. More... | |
Namespaces | |
| AL | |
Macros | |
| #define | AL_MAYA_TRANSLATOR_BEGIN(ClassName, TranslatorName, HaveRead, HaveWrite, DefaultExtension, FilterString) |
| Macro to wrap some boiler plate creation of a file translator. More... | |
| #define | AL_MAYA_TRANSLATOR_END() }; |
| Macro to wrap some boiler plate creation of a file translator. | |
This file contains a few macros and templates to help automate the tedious boiler plate setup of Maya import/export plugins.
When you come to register your plugin, just do the following:
| #define AL_MAYA_TRANSLATOR_BEGIN | ( | ClassName, | |
| TranslatorName, | |||
| HaveRead, | |||
| HaveWrite, | |||
| DefaultExtension, | |||
| FilterString | |||
| ) |
Macro to wrap some boiler plate creation of a file translator.