Python Script Engine
7.1
GL Studio Editor Python Script API
|
Public Types | |
enum | FLT_Units_e { FLT_UNITS_MM, FLT_UNITS_CM, FLT_UNITS_M, FLT_UNITS_IN, FLT_UNITS_FT } |
Public Member Functions | |
Group * | Import (String filename, Document doc, bool reposition, bool enableLighting, bool importAsMesh, float scale, FLT_Units_e units) |
Static Public Member Functions | |
static GlsFLTImporter & | GetInstance (void) |
Plug-in used to import FLT files into GL Studio.
|
static |
Group* GlsFLTImporter::Import | ( | String | filename, |
Document | doc, | ||
bool | reposition, | ||
bool | enableLighting, | ||
bool | importAsMesh, | ||
float | scale, | ||
FLT_Units_e | units | ||
) |
Imports a FLT file using the FLT Importer.
filename | Name of the file to import |
doc | Document into which the file should be imported |
reposition | Flag to determine if the imported objects should be repositioned |
enableLighting | Flag to determine if lighting should be enabled |
importAsMesh | Flag to import the file as a mesh |
scale | Scale to be applied to the newly imported objects |
units | Unit measurement within the FLT file |
CEIException |