Writing Exporter Plug-ins
Global utility plug-ins inherit from the SceneExport class. An exporter plug-in must implement the following virtual functions:
SceneExport::ExtCount()- The number of supported file extensionsSceneExport::Ext()- The nth file extension without leading ".". E.g. "txt" instead of ".txt"SceneExport::LongDesc()- A detailed file output description.SceneExport::ShortDesc()- A short description of the exported file type, which appears in file save dialog.SceneExport::AuthorName()- A long description of the exported file type.SceneExport::CopyrightMessage()- A copyright message.SceneExport::OtherMessage1()- A message string.SceneExport::OtherMessage2()- Another message string.SceneExport::Version()- The version number of the export plug-in. The format is the major number times 100 plus the minor version. E.g. version 1.03 would be represented as 103.SceneExport::ShowAbout()- Called in response to display an about box.SceneExport::DoExport()- Perform the file export.
When performing a file export in the function SceneExport::DoExport(), you can use the 3DXI functions and classes instead of (or inconjunction with) IScene, Interface and INode.
