material
allows you to load and decode .mtl files which can then be applied to models
get_texture(material) | allows you to grab any of the preloaded textures from the selected material type (can be used to manage textures) |
---|---|
fields | stores all of the material data |
- get_texture(material)Source
allows you to grab any of the preloaded textures from the selected material type (can be used to manage textures)
Parameters
- material string The material type to find loaded texture for
Returns
- texture the texture loaded for the given material type
- fieldsSource
stores all of the material data
loaded_textures All of the preloaded textures for the material. - loaded_texturesSource
All of the preloaded textures for the material.