public class HomeMaterial extends Object implements Serializable
| Constructor and Description |
|---|
HomeMaterial(String name,
Integer color,
HomeTexture texture,
Float shininess)
Creates a material instance from parameters.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getColor()
Returns the color of this material.
|
String |
getName()
Returns the name of this material.
|
Float |
getShininess()
Returns the shininess of this material.
|
HomeTexture |
getTexture()
Returns the texture of this material.
|
public HomeMaterial(String name, Integer color, HomeTexture texture, Float shininess)
public String getName()
null if material has no name.public Integer getColor()
null if material color is unchanged.public HomeTexture getTexture()
null if material texture is unchanged.public Float getShininess()
null if material shininess is unchanged.

© Copyrights 2006-2015 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License