public class LambertMaterial extends Material
MAP_AMBIENT, MAP_DIFFUSE, MAP_EMISSIVE, MAP_NORMAL, MAP_SPECULAR
name, properties
Constructor and Description |
---|
LambertMaterial()
Initializes a new instance of the
LambertMaterial class. |
LambertMaterial(java.lang.String name)
Initializes a new instance of the
LambertMaterial class. |
Modifier and Type | Method and Description |
---|---|
Vector3 |
getAmbientColor()
Gets the ambient color
|
Vector3 |
getDiffuseColor()
Gets the diffuse color
|
Vector3 |
getEmissiveColor()
Gets the emissive color
|
double |
getTransparency()
Gets the transparency factor.
|
Vector3 |
getTransparentColor()
Gets the transparent color.
|
void |
setAmbientColor(Vector3 value)
Sets the ambient color
|
void |
setDiffuseColor(Vector3 value)
Sets the diffuse color
|
void |
setEmissiveColor(Vector3 value)
Sets the emissive color
|
void |
setTransparency(double value)
Sets the transparency factor.
|
void |
setTransparentColor(Vector3 value)
Sets the transparent color.
|
getTexture, setTexture, toString
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setProperty
public LambertMaterial()
LambertMaterial
class.public LambertMaterial(java.lang.String name)
LambertMaterial
class.name
- Namepublic Vector3 getEmissiveColor()
public void setEmissiveColor(Vector3 value)
value
- New valuepublic Vector3 getAmbientColor()
public void setAmbientColor(Vector3 value)
value
- New valuepublic Vector3 getDiffuseColor()
public void setDiffuseColor(Vector3 value)
value
- New valuepublic Vector3 getTransparentColor()
public void setTransparentColor(Vector3 value)
value
- New valuepublic double getTransparency()
public void setTransparency(double value)
value
- New value