gov.nasa.worldwind.render
Class Material
java.lang.Object
gov.nasa.worldwind.render.Material
public class Material
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AMBIENT
public static final int AMBIENT
- See Also:
- Constant Field Values
BLUE
public static final Material BLUE
DIFFUSE
public static final int DIFFUSE
- See Also:
- Constant Field Values
EMISSION
public static final int EMISSION
- See Also:
- Constant Field Values
GREEN
public static final Material GREEN
RED
public static final Material RED
SPECULAR
public static final int SPECULAR
- See Also:
- Constant Field Values
WHITE
public static final Material WHITE
YELLOW
public static final Material YELLOW
Material
public Material(Color color)
Material
public Material(Color specular,
Color diffuse,
Color ambient,
Color emission,
float shininess)
- Parameters:
specular
- diffuse
- ambient
- emission
- shininess
-
- Throws:
IllegalArgumentException
- if specular
, diffuse
, ambient
or
emission
is null
apply
public void apply(javax.media.opengl.GL gl,
int face)
getAmbient
public Color getAmbient()
getDiffuse
public Color getDiffuse()
getEmission
public Color getEmission()
getShininess
public float getShininess()
getSpecular
public Color getSpecular()