Assimp  v4.1. (December 2018)
materialgen Namespace Reference

Variables

string enumText = ''
 
 file = open('material.py', 'w')
 
 files = os.listdir (path)
 
 line = line.lstrip().rstrip()
 
string path = '../../../include/assimp'
 
 REenumTextureType
 
 RErmifdef
 
 RErmtrailcom = re.compile(r',$', re.IGNORECASE + re.DOTALL)
 
 RErpcom
 
 text = open(os.path.join(path, fileName)).read()
 

Variable Documentation

◆ enumText

materialgen.enumText = ''

◆ file

materialgen.file = open('material.py', 'w')

◆ files

materialgen.files = os.listdir (path)

◆ line

materialgen.line = line.lstrip().rstrip()

◆ path

string materialgen.path = '../../../include/assimp'

◆ REenumTextureType

materialgen.REenumTextureType
Initial value:
1 = re.compile(r''
2  r'enum\saiTextureType' # enum aiTextureType
3  r'[^{]*?\{' # {
4  r'(?P<code>.*?)' # code
5  r'\};' # };
6  , re.IGNORECASE + re.DOTALL + re.MULTILINE)

◆ RErmifdef

materialgen.RErmifdef
Initial value:
1 = re.compile(r''
2  r'#ifndef SWIG' # #ifndef SWIG
3  r'(?P<code>.*)' # code
4  r'#endif(\s*//\s*!?\s*SWIG)*' # #endif
5  , re.IGNORECASE + re.DOTALL)

◆ RErmtrailcom

materialgen.RErmtrailcom = re.compile(r',$', re.IGNORECASE + re.DOTALL)

◆ RErpcom

materialgen.RErpcom
Initial value:
1 = re.compile(r''
2  r'\s*(/\*+\s|\*+/|\B\*\s?|///?!?)' # /**
3  r'(?P<line>.*?)' # * line
4  , re.IGNORECASE + re.DOTALL)

◆ text

string materialgen.text = open(os.path.join(path, fileName)).read()