#include <SimplygonSDK.h>
base class for graphics import classes
Definition at line 8380 of file SimplygonSDK.h.
◆ Clear()
virtual void SimplygonSDK::IGraphicsImporter::Clear |
( |
| ) |
|
|
pure virtual |
Close any open file or stream, release any allocated data .
◆ GetClass()
virtual const char* SimplygonSDK::IGraphicsImporter::GetClass |
( |
| ) |
|
|
virtual |
◆ GetImportFilePath()
virtual rstring SimplygonSDK::IGraphicsImporter::GetImportFilePath |
( |
| ) |
|
|
pure virtual |
Get the main import file path. This must always be set. Some importers, such as IWavefrontImporter, also have secondary files that may be set. For info regarding these secondary files, please see the documentation for the specific importer.
- Returns
- the current ImportFilePath string
◆ GetScene()
The the scene loaded from the importer.
- Returns
- the loaded scene
◆ IsA()
virtual bool SimplygonSDK::IGraphicsImporter::IsA |
( |
const char * |
type | ) |
const |
|
virtual |
◆ IsClassA()
static bool SimplygonSDK::IGraphicsImporter::IsClassA |
( |
const char * |
type | ) |
|
|
inlinestatic |
The IsClassA function returns true if IGraphicsImporter 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 8401 of file SimplygonSDK.h.
◆ RunImport()
virtual bool SimplygonSDK::IGraphicsImporter::RunImport |
( |
| ) |
|
|
pure virtual |
Runs the import. Note that all parameters must be setup before importing.
- Returns
- true if the import was successful, false otherwise
◆ SafeCast()
SafeCast makes sure the pointer is of a class that can be cast into a IGraphicsImporter pointer, and if this is possible, returns the cast pointer.
- Parameters
-
- Returns
- a pointer to the IGraphicsImporter object, if the cast can be made, and a NULL pointer otherwise
Definition at line 8414 of file SimplygonSDK.h.
◆ SetImportFilePath()
virtual void SimplygonSDK::IGraphicsImporter::SetImportFilePath |
( |
const char * |
value | ) |
|
|
pure virtual |
Set the main import file path. This must always be set. Some importers, such as IWavefrontImporter, also have secondary files that may be set. For info regarding these secondary files, please see the documentation for the specific importer.
- Parameters
-
value | the desired ImportFilePath string |
The documentation for this class was generated from the following file: