17c8a62e24
Before, neither the texture index nor its semantic were kept in the returned output. Now GetMaterialProperties returns a (name, color, material, texture) tuple. Name is the name of the material. Color is a dictionary of color properties. Material is a dictionary of material properties. Textures is a triply nested dictionary addressed by the following: textures[index][semantic][key]. See assimp documentation for the meaning of index, semantic, and keys in general. |
||
---|---|---|
.. | ||
__init__.py | ||
errors.py | ||
helper.py | ||
pyassimp.py | ||
structs.py |