FBX Extensions to the FBX Plug-in for Maya can implement any or all of the following functions. Note that the MObject
class refers to the Maya SDK.
EXPORT_DLL bool MayaExt_IsExtension(){return true;}
EXPORT_DLL bool MayaExt_ExportHandled(MObject& pMayaObject);
EXPORT_DLL void MayaExt_ExportBegin(FbxScene* pFbxScene);
EXPORT_DLL void MayaExt_ExportTranslated(FbxObject* pFbxObject, MObject& pMayaObject);
EXPORT_DLL void MayaExt_ExportEnd(FbxScene* pFbxScene);
EXPORT_DLL bool MayaExt_ImportHandled(FbxObject* pFbxObject);
EXPORT_DLL void MayaExt_ImportBegin(FbxScene* pFbxScene);
EXPORT_DLL void MayaExt_ImportTranslated(FbxObject* pFbxObject, MObject& pMayaObject);
EXPORT_DLL void MayaExt_ImportEnd(FbxScene* pFbxScene);
FBX Extensions for Maya must be compiled as dynamic library files ( .dll for Windows) and placed in the following Maya subdirectory:
The following FBX Extensions SDK subdirectories contain sample Visual Studio projects.
Directory | Description |
---|---|
plugins/MayaExtensionPlugin_Template/ | Skeleton code and comments for Maya. |
plugins/MayaExtensionPlugin_Example/ | Fully functional sample extension for Maya. |