public class HomeMaterial
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
HomeMaterial(java.lang.String name,
java.lang.Integer color,
HomeTexture texture,
java.lang.Float shininess)
Creates a material instance from parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getColor()
Returns the color of this material.
|
java.lang.String |
getName()
Returns the name of this material.
|
java.lang.Float |
getShininess()
Returns the shininess of this material.
|
HomeTexture |
getTexture()
Returns the texture of this material.
|
public HomeMaterial(java.lang.String name, java.lang.Integer color, HomeTexture texture, java.lang.Float shininess)
public java.lang.String getName()
null
if material has no name.public java.lang.Integer getColor()
null
if material color is unchanged.public HomeTexture getTexture()
null
if material texture is unchanged.public java.lang.Float getShininess()
null
if material shininess is unchanged.
© Copyrights 2006-2014 eTeks - All rights reserved
Distributed under GNU General Public License