KFbxExporter Class Reference
#include <kfbxexporter.h>
List of all members.
Detailed Description
Class to export SDK objects into an FBX file.
Typical workflow for using the KFbxExporter
class:
- create an exporter
- initialize it with a file name
- set numerous states, take information, defining how the
exporter will behave
- call KFbxExporter::Export()
with the entity to export
Definition at line 98 of file kfbxexporter.h.
Member Function Documentation
virtual bool Initialize |
( |
const char * |
pFileName, |
|
|
int |
pFileFormat = -1 |
|
|
) |
|
|
[virtual] |
Initialize object.
- Parameters:
-
|
pFileName |
Name of file to access. |
|
pFileFormat |
file format identifier User does not need to specify it by
default. if not specified, plugin will detect the file format
according to file suffix automatically. |
- Returns:
true
on success, false
otherwise.
Get file export options settings.
- Returns:
- Pointer to file export options or NULL on failure.
Export the document to the currently created file.
- Parameters:
-
|
pDocument |
Document to export. |
|
pStreamOptions |
Pointer to file export options. |
- Returns:
true
on success, false
otherwise.
Release the file export options.
- Parameters:
-
|
pStreamOptions |
Pointer to file export options. |
K_DEPRECATED void SetFileFormat |
( |
int |
pFileFormat |
) |
|
Set the exported file format.
- Parameters:
-
|
pFileFormat |
File format identifier. |
Get the format of the exported file.
- Returns:
- File format identifier.
Return true
if the file format is a recognized FBX
format.
char const* const*
GetCurrentWritableVersions |
( |
|
) |
|
Get writable version for the current file format.
- Returns:
char**
Set file version for a given file format.
- Parameters:
-
|
pVersion |
String description of the file format. |
|
pRenamingMode |
Renaming mode. |
- Returns:
true
if mode is set correctly
void SetResamplingRate |
( |
double |
pResamplingRate |
) |
[inline] |
Set the resampling rate (only used when exporting to FBX5.3 and
lower).
- Parameters:
-
|
pResamplingRate |
resampling rate |
Definition at line 179 of file kfbxexporter.h.
void SetDefaultRenderResolution |
( |
KString |
pCamName, |
|
|
KString |
pResolutionMode, |
|
|
double |
pW, |
|
|
double |
pH |
|
|
) |
|
|
|
Set the default rendering resolution.
- Parameters:
-
|
pCamName |
name of the camera. |
|
pResolutionMode |
resolution mode. |
|
pW |
width. |
|
pH |
height. |
Get the complete file header information.
- Returns:
- valid pointer to the complete header information
KFbxExporter KFbxExporter KFbxExporter
KFbxExporter KFbxExporter KFbxExporter KFbxExporter KFbxExporter
KFbxExporter KFbxExporter
KFbxExporter KFbxExporter KFbxExporter
KFbxExporter KFbxExporter KFbxExporter KFbxExporter KFbxExporter
KFbxExporter KFbxExporter