Python Script Engine  8.1
GL Studio Editor Python Script API
GlsOBJImporter Class Reference

Public Member Functions

GroupImport (String filename, Document doc, bool reposition, bool enableLighting, float scale)
 

Static Public Member Functions

static GlsOBJImporterGetInstance (void)
 

Detailed Description

Plug-in used to import OBJ files into GL Studio.

Member Function Documentation

static GlsOBJImporter& GlsOBJImporter::GetInstance ( void  )
static
Group* GlsOBJImporter::Import ( String  filename,
Document  doc,
bool  reposition,
bool  enableLighting,
float  scale 
)

Imports a OBJ file using the OBJ Importer.

Parameters
filenameName of the file to import
docDocument into which the file should be imported
repositionFlag to determine if the imported objects should be repositioned
enableLightingFlag to determine if lighting should be enabled
scaleScale to be applied to the newly imported objects
Returns
A group containing objects imported from the OBJ file
Exceptions
CEIException

The documentation for this class was generated from the following file: