public static class OBJModel.Texture
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
path |
private javax.vecmath.Vector2f |
position |
private float |
rotation |
private javax.vecmath.Vector2f |
scale |
static OBJModel.Texture |
WHITE |
Constructor and Description |
---|
Texture(java.lang.String path) |
Texture(java.lang.String path,
javax.vecmath.Vector2f position,
javax.vecmath.Vector2f scale,
float rotation) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPath() |
javax.vecmath.Vector2f |
getPosition() |
float |
getRotation() |
javax.vecmath.Vector2f |
getScale() |
ResourceLocation |
getTextureLocation() |
void |
setPath(java.lang.String path) |
void |
setPosition(javax.vecmath.Vector2f position) |
void |
setRotation(float rotation) |
void |
setScale(javax.vecmath.Vector2f scale) |
public static OBJModel.Texture WHITE
private java.lang.String path
private javax.vecmath.Vector2f position
private javax.vecmath.Vector2f scale
private float rotation
public Texture(java.lang.String path)
public Texture(java.lang.String path, javax.vecmath.Vector2f position, javax.vecmath.Vector2f scale, float rotation)
public ResourceLocation getTextureLocation()
public void setPath(java.lang.String path)
public java.lang.String getPath()
public void setPosition(javax.vecmath.Vector2f position)
public javax.vecmath.Vector2f getPosition()
public void setScale(javax.vecmath.Vector2f scale)
public javax.vecmath.Vector2f getScale()
public void setRotation(float rotation)
public float getRotation()