The exporter JavaScript global object. Provides access to the project export directory.
More...
|
void | cleanExportDir () |
| Removes all files from the project export directory. More...
|
|
String | getExportDir () |
| Returns the path of the project export directory. More...
|
|
bool | exportToQuicktime (String &displayName, int startFrame, int lastFrame, bool withSound, int resX, int resY, String &dstPath, String &displayModule, bool generateThumbnail, int thumbnailFrame) |
| Returns true if a scene was exported to a QuickTime in the specified directory. More...
|
|
void | exportOGLToQuicktime (String &fileName, String &dstPath, int startFrame=-1, int lastFrame=-1, int resX=-1, int resY=-1) |
| Export OGL frames to a QuickTime movie. Without QuickTime it will try to fallback to other supported formats. More...
|
|
The exporter JavaScript global object. Provides access to the project export directory.
The example below writes the palette list to a file.
var exportFile = exportDir + "paletteList.txt";
var logFile =
new File(exportFile);
logFile.writeLine("");
for (i = 0; i < numPalettes; ++i)
{
logFile.writeLine(paletteName);
}
◆ cleanExportDir
void exporter::cleanExportDir |
( |
| ) |
|
|
slot |
Removes all files from the project export directory.
◆ exportOGLToQuicktime
void exporter::exportOGLToQuicktime |
( |
String & |
fileName, |
|
|
String & |
dstPath, |
|
|
int |
startFrame = -1 , |
|
|
int |
lastFrame = -1 , |
|
|
int |
resX = -1 , |
|
|
int |
resY = -1 |
|
) |
| |
|
slot |
Export OGL frames to a QuickTime movie. Without QuickTime it will try to fallback to other supported formats.
- Parameters
-
fileName | : The output file name. |
dstPath | : The output file location. |
startFrame | : The start range of playback, default to playback toolbar start if -1. |
lastFrame | : The end range of playback, default to playback toolbar stop if -1. |
resX | : The horizontal resolution, default to preview resolution if -1. |
resY | : The vertical resolution default to preview resolution if -1. |
◆ exportToQuicktime
bool exporter::exportToQuicktime |
( |
String & |
displayName, |
|
|
int |
startFrame, |
|
|
int |
lastFrame, |
|
|
bool |
withSound, |
|
|
int |
resX, |
|
|
int |
resY, |
|
|
String & |
dstPath, |
|
|
String & |
displayModule, |
|
|
bool |
generateThumbnail, |
|
|
int |
thumbnailFrame |
|
) |
| |
|
slot |
Returns true if a scene was exported to a QuickTime in the specified directory.
- Parameters
-
displayName | : The display name. |
startFrame | : The start range of playback, default to playback toolbar start if -1. |
lastFrame | : The end range of playback, default to playback toolbar stop if -1. |
withSound | : Whether or not the movie will have sound. |
resX | : The horizontal resolution, default to preview resolution if -1. |
resY | : The vertical resolution default to preview resolution if -1. |
dstPath | : The output file location. |
displayModule | : The display module. |
generateThumbnail | : Whether or not to generate a thumbnail for the QuickTime. |
thumbnailFrame | : The frame to use for the thumbnail. |
- Returns
- Returns true if a scene was exported to a QuickTime in the specified directory.
◆ getExportDir
String exporter::getExportDir |
( |
| ) |
|
|
slot |
Returns the path of the project export directory.
- Returns
- Returns the path of the project export directory.