|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Mtl
An interface for classes providing parts of the material data that is
contained in an MTL file. The data represented by this interface is:
Ka - Ambient component
Ks - Specular component
Kd - Diffuse component
map_Kd - Diffuse map
Ns - Shininess
D - Opacity
Method Summary | |
---|---|
float |
getD()
Returns the opacity of the material |
FloatTuple |
getKa()
Returns the ambient component of the material |
FloatTuple |
getKd()
Returns the diffuse component of the material |
FloatTuple |
getKs()
Returns the specular component of the material |
String |
getMapKd()
Returns the name of the diffuse map of the material, or null if it has not map. |
String |
getName()
Return the name of the material |
float |
getNs()
Returns the shininess of the material. |
Method Detail |
---|
String getName()
FloatTuple getKa()
FloatTuple getKs()
FloatTuple getKd()
String getMapKd()
float getNs()
float getD()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |