|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object TextureData
public class TextureData
a texture with all information necessary for applying it to an object that has texture coordinates
Nested Class Summary | |
---|---|
static class |
TextureData.Wrap
|
Field Summary | |
---|---|
boolean |
colorable
whether the texture is modulated with the material color. |
File |
file
path to the texture file |
double |
height
height of a single tile of the texture |
double |
width
width of a single tile of the texture |
TextureData.Wrap |
wrap
wrap style of the texture |
Constructor Summary | |
---|---|
TextureData(File file,
double width,
double height,
TextureData.Wrap wrap,
boolean colorable)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final File file
public final double width
public final double height
public final TextureData.Wrap wrap
public final boolean colorable
Constructor Detail |
---|
public TextureData(File file, double width, double height, TextureData.Wrap wrap, boolean colorable)
Method Detail |
---|
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |