MotionBuilder FBX Extension Interface
FBX Extensions to MotionBuilder can implement any or all of the following functions. Note that the HFBComponent class refers to the MotionBuilder 2012 SDK.
EXPORT_DLL bool MBExt_IsExtension(){return true;} EXPORT_DLL bool MBExt_ExportHandled( HFBComponent pFBComponent ); EXPORT_DLL void MBExt_ExportBegin( KFbxScene* pFbxScene ); EXPORT_DLL void MBExt_ExportTranslated( KFbxObject* pFbxObject, HFBComponent pFBComponent ); EXPORT_DLL void MBExt_ExportEnd( KFbxScene* pFbxScene ); EXPORT_DLL bool MBExt_ImportHandled( KFbxObject* pFbxObject ); EXPORT_DLL void MBExt_ImportBegin( KFbxScene* pFbxScene ); EXPORT_DLL void MBExt_ImportTranslated( KFbxObject* pFbxObject, HFBComponent pFBComponent ); EXPORT_DLL void MBExt_ImportEnd( KFbxScene* pFbxScene );
Running your FBX Extension for MotionBuilder
FBX Extensions for MotionBuilder must be compiled as dynamic library files (.dll) and placed in one of the following MotionBuilder subdirectories, depending on your processor architecture:
The following FBX Extensions SDK subdirectories contain sample Visual Studio projects.
Directory | Description |
---|---|
plugins/MotionBuilderExtensionPlugin_Template/ | Skeleton code and comments for MotionBuilder. |
plugins/MotionBuilderExtensionPlugin_Example/ | Fully functional sample extension for MotionBuilder. |