public class Material
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
texName |
Constructor and Description |
---|
Material(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
Vertex |
getKa() |
Vertex |
getKd() |
Vertex |
getKs() |
java.lang.String |
getName() |
float |
getShininess() |
Texture |
getTexture() |
void |
setKa(Vertex ka) |
void |
setKd(Vertex kd) |
void |
setKs(Vertex ks) |
void |
setName(java.lang.String name) |
void |
setShininess(float s) |
void |
setTexture(Texture texture) |
public void setName(java.lang.String name)
public java.lang.String getName()
public Texture getTexture()
public void setTexture(Texture texture)
public Vertex getKa()
public Vertex getKd()
public Vertex getKs()
public float getShininess()
public void setKa(Vertex ka)
public void setKd(Vertex kd)
public void setKs(Vertex ks)
public void setShininess(float s)