#include <kfbxexporter.h>
Inherits KFbxIO.
Inheritance diagram for KFbxExporter:
Typical workflow for using the KFbxExporter class:
Definition at line 84 of file kfbxexporter.h.
Export Functions | |
virtual bool | Initialize (const char *pFileName) |
Initialize object. | |
KFbxStreamOptions * | GetExportOptions () |
Get file export options settings. | |
bool | Export (KFbxScene &pScene, KFbxStreamOptions *pStreamOptions=NULL) |
Export the scene to the currently created file. | |
void | ReleaseExportOptions (KFbxStreamOptions *pStreamOptions) |
Release the file export options. | |
File Format | |
void | SetFileFormat (int pFileFormat) |
Set the exported file format. | |
int | GetFileFormat () |
Get the format of the exported file. | |
bool | IsFBX () |
Return true if the file format is a recognized FBX format. | |
char const *const * | GetCurrentWritableVersions () |
Get writable version for the current file format. | |
bool | SetFileExportVersion (KString pVersion, KFbxSceneRenamer::ERenamingMode pRenamingMode) |
Set file version for a given file format. | |
void | SetResamplingRate (double pResamplingRate) |
Set the resampling rate (only used when exporting to FBX5.3 and lower). |
virtual bool Initialize | ( | const char * | pFileName | ) | [virtual] |
Initialize object.
pFileName | Name of file to access. |
true
on success, false
otherwise. Reimplemented from KFbxIO.
KFbxStreamOptions* GetExportOptions | ( | ) |
Get file export options settings.
bool Export | ( | KFbxScene & | pScene, | |
KFbxStreamOptions * | pStreamOptions = NULL | |||
) |
Export the scene to the currently created file.
pScene | Scene to export. | |
pStreamOptions | Pointer to file export options. |
true
on success, false
otherwise. void ReleaseExportOptions | ( | KFbxStreamOptions * | pStreamOptions | ) |
Release the file export options.
pStreamOptions | Pointer to file export options. |
void SetFileFormat | ( | int | pFileFormat | ) |
Set the exported file format.
pFileFormat | File format identifier. |
int GetFileFormat | ( | ) |
Get the format of the exported file.
bool IsFBX | ( | ) |
Return true
if the file format is a recognized FBX format.
char const* const* GetCurrentWritableVersions | ( | ) |
Get writable version for the current file format.
char**
bool SetFileExportVersion | ( | KString | pVersion, | |
KFbxSceneRenamer::ERenamingMode | pRenamingMode | |||
) |
Set file version for a given file format.
pVersionIndex | Index in the version index of the file format. | |
pFormat | File format. |
true
if mode is set correctly void SetResamplingRate | ( | double | pResamplingRate | ) | [inline] |
Set the resampling rate (only used when exporting to FBX5.3 and lower).
pResamplingRate | resampling rate |
Definition at line 163 of file kfbxexporter.h.