org.osm2world.core.target.common
public class TextureData extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TextureData.Wrap |
Modifier and Type | Field and Description |
---|---|
boolean |
colorable
whether the texture is modulated with the material color.
|
TexCoordFunction |
coordFunction
calculation rule for texture coordinates
|
File |
file
path to the texture file
|
double |
height
height of a single tile of the texture
|
boolean |
isBumpMap |
double |
width
width of a single tile of the texture
|
TextureData.Wrap |
wrap
wrap style of the texture
|
Constructor and Description |
---|
TextureData(File file,
double width,
double height,
TextureData.Wrap wrap,
TexCoordFunction texCoordFunction,
boolean colorable,
boolean isBumpMap) |
public final File file
public final double width
public final double height
public final TextureData.Wrap wrap
public final TexCoordFunction coordFunction
public final boolean colorable
public final boolean isBumpMap
public TextureData(File file, double width, double height, TextureData.Wrap wrap, TexCoordFunction texCoordFunction, boolean colorable, boolean isBumpMap)