Maven module :un.storage : model3d-obj :
Class : un.storage.model3d.mtl.MTLMaterial
Extends/Implements : -
Subclasses : -

author  Johann Sorel


Variables : -
Functions : MTLMaterial, MTLMaterial, getName, getBasePath, setBasePath, getProperties, getAmbiantColor, getDiffuseColor, getSpecularColor, getAmbiantMap, getDiffuseMap, getSpecularMap, createMaterial, createMaterial



public void MTLMaterial ()

public void MTLMaterial (Chars name)

public Chars getName ()

public Path getBasePath ()

public void setBasePath (Path basePath)

public Dictionary getProperties ()


Ambiant color : Ka
return  Color, may be null
public Color getAmbiantColor ()


Diffuse color : Kd
return  Color, may be null
public Color getDiffuseColor ()


Specular color : Ks
return  Color, may be null
public Color getSpecularColor ()


Ambiant texture map : map_Ka
return  Path, may be null
public Path getAmbiantMap ()


Diffuse texture map : map_Kd
return  Path, may be null
public Path getDiffuseMap ()


Specular texture map : map_Ks
return  Path, may be null
public Path getSpecularMap ()

public Material createMaterial ()

public Material createMaterial (Dictionary textureCache)