public static class OBJModel.Material
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_NAME |
static java.lang.String |
WHITE_NAME |
Constructor and Description |
---|
Material() |
Material(OBJModel.Texture texture) |
Material(javax.vecmath.Vector4f color) |
Material(javax.vecmath.Vector4f color,
OBJModel.Texture texture,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
javax.vecmath.Vector4f |
getColor() |
java.lang.String |
getName() |
OBJModel.Texture |
getTexture() |
boolean |
isWhite() |
void |
setColor(javax.vecmath.Vector4f color) |
void |
setName(java.lang.String name) |
void |
setTexture(OBJModel.Texture texture) |
java.lang.String |
toString() |
public static final java.lang.String WHITE_NAME
public static final java.lang.String DEFAULT_NAME
public Material()
public Material(javax.vecmath.Vector4f color)
public Material(OBJModel.Texture texture)
public Material(javax.vecmath.Vector4f color, OBJModel.Texture texture, java.lang.String name)
public void setName(java.lang.String name)
public java.lang.String getName()
public void setColor(javax.vecmath.Vector4f color)
public javax.vecmath.Vector4f getColor()
public void setTexture(OBJModel.Texture texture)
public OBJModel.Texture getTexture()
public boolean isWhite()
public java.lang.String toString()
toString
in class java.lang.Object