#include <SimplygonSDK.h>
base class for graphics export classes
Definition at line 8578 of file SimplygonSDK.h.
◆ GetClass()
virtual const char* SimplygonSDK::IGraphicsExporter::GetClass |
( |
| ) |
|
|
virtual |
◆ GetExportFilePath()
virtual rstring SimplygonSDK::IGraphicsExporter::GetExportFilePath |
( |
| ) |
|
|
pure virtual |
Get the main export file path. This is the main file being written to, and must always be set.
- Returns
- the current file path
◆ GetPrimaryTexCoordLevelName()
virtual rstring SimplygonSDK::IGraphicsExporter::GetPrimaryTexCoordLevelName |
( |
| ) |
|
|
pure virtual |
Gets the name of the texcoord level used as primary level in case the file format only supports a single texture coordinate layer
- Returns
- the current name of the texcoord level used as primary level
◆ IsA()
virtual bool SimplygonSDK::IGraphicsExporter::IsA |
( |
const char * |
type | ) |
const |
|
virtual |
◆ IsClassA()
static bool SimplygonSDK::IGraphicsExporter::IsClassA |
( |
const char * |
type | ) |
|
|
inlinestatic |
The IsClassA function returns true if IGraphicsExporter is a or is a descendant of the class named as the type parameter
- Parameters
-
type | is the name of the class to check if the class is, or is a descendant of |
- Returns
- true if the class is of the specified class, false if not
Definition at line 8599 of file SimplygonSDK.h.
◆ RunExport()
virtual bool SimplygonSDK::IGraphicsExporter::RunExport |
( |
| ) |
|
|
pure virtual |
Runs the export. Note that all required parameters must be setup before exporting.
- Returns
- true if the export was successful, false otherwise
◆ SafeCast()
SafeCast makes sure the pointer is of a class that can be cast into a IGraphicsExporter pointer, and if this is possible, returns the cast pointer.
- Parameters
-
- Returns
- a pointer to the IGraphicsExporter object, if the cast can be made, and a NULL pointer otherwise
Definition at line 8612 of file SimplygonSDK.h.
◆ SetExportFilePath()
virtual void SimplygonSDK::IGraphicsExporter::SetExportFilePath |
( |
const char * |
value | ) |
|
|
pure virtual |
Set the main export file path. This is the main file being written to, and must always be set.
- Parameters
-
value | the desired file path |
◆ SetPrimaryTexCoordLevelName()
virtual void SimplygonSDK::IGraphicsExporter::SetPrimaryTexCoordLevelName |
( |
const char * |
name | ) |
|
|
pure virtual |
Sets the name of the texcoord level to use as primary level in case the file format only supports a single texture coordinate layer. If the primary level name is not set, the first found level will be used as primary level.
- Parameters
-
name | the name of the primary texcoord level |
◆ SetScene()
virtual void SimplygonSDK::IGraphicsExporter::SetScene |
( |
IScene * |
scene | ) |
|
|
pure virtual |
Sets the scene to export.
- Parameters
-
scene | the desired scene object |
◆ SetSelectionSet()
virtual void SimplygonSDK::IGraphicsExporter::SetSelectionSet |
( |
int |
exportSelectionSetID | ) |
|
|
pure virtual |
Sets the selection set (of nodes from the scene) to export.
- Parameters
-
exportSelectionSetID | the desired selection set id to use |
The documentation for this class was generated from the following file: