org.auxilum.opengl.scene
Class Material

java.lang.Object
  extended byorg.auxilum.opengl.scene.Material

public class Material
extends java.lang.Object


Constructor Summary
Material(java.lang.String materialName, float[] ambient, float[] diffuse, float[] specular, float[] emissive, float shininess, float transparency, java.lang.String textureName)
          Method Material
 
Method Summary
 float[] getAmbient()
           
 float[] getDiffuse()
           
 float[] getEmission()
           
 java.lang.String getName()
           
 float getShininess()
           
 float[] getSpecular()
           
 Texture getTexture()
           
 java.lang.String getTextureName()
           
 void setTexture(Texture texture)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Material

public Material(java.lang.String materialName,
                float[] ambient,
                float[] diffuse,
                float[] specular,
                float[] emissive,
                float shininess,
                float transparency,
                java.lang.String textureName)
Method Material

Method Detail

getName

public java.lang.String getName()

getAmbient

public float[] getAmbient()

getDiffuse

public float[] getDiffuse()

getSpecular

public float[] getSpecular()

getEmission

public float[] getEmission()

getShininess

public float getShininess()

getTextureName

public java.lang.String getTextureName()

getTexture

public Texture getTexture()

setTexture

public void setTexture(Texture texture)