|
SO3Engine
|
#include <ALMaterial.h>
Public Member Functions | |
| ALMaterial (ALScene *alscene, aiMaterial *srcMaterial, bool useVertexColor=false) | |
| ~ALMaterial () | |
| std::string | convertToScol (bool clearFile=true) |
| std::string | convert (boost::filesystem::path expPath, bool clearFile=false) |
| SMaterial * | load () |
class Material
Definition at line 80 of file ALMaterial.h.
| SO3::ALMaterial::ALMaterial | ( | ALScene * | alscene, |
| aiMaterial * | srcMaterial, | ||
| bool | useVertexColor = false |
||
| ) |
ALMaterial Constructor. It just initialize the variable needed.
| srcMaterial | : Assimp Material to convert. |
| originPath | : Directory of the loaded file. If no export directory is given, It will put the script in this directory. |
| grp | : Ogre ressource group to put the material to. |
| root | : Scol scene to attach the material to. |
| exportPath | : Directory to export the materials to. If exportPath == 0, then use the originPath. |
Definition at line 18 of file ALMaterial.cpp.
| SO3::ALMaterial::~ALMaterial | ( | ) |
Definition at line 28 of file ALMaterial.cpp.
| std::string SO3::ALMaterial::convert | ( | boost::filesystem::path | expPath, |
| bool | clearFile = false |
||
| ) |
Definition at line 1129 of file ALMaterial.cpp.
| std::string SO3::ALMaterial::convertToScol | ( | bool | clearFile = true | ) |
Convert a aiMaterial to a scol/ogre material.
| clearFile | : True will create a new material file erasing any precedent material file, false will add the material to the material file. |
| SMaterial * SO3::ALMaterial::load | ( | ) |
Definition at line 1310 of file ALMaterial.cpp.