public class GuiTexturePos2D
extends java.lang.Object
| 构造器和说明 |
|---|
GuiTexturePos2D(float u,
float v,
int width,
int height,
float maxWidth,
float maxHeight) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getHeight() |
float |
getMaxHeight() |
float |
getMaxWidth() |
float |
getU() |
float |
getV() |
int |
getWidth() |
void |
setHeight(int height) |
void |
setMaxHeight(float maxHeight) |
void |
setMaxWidth(float maxWidth) |
void |
setU(float u) |
void |
setV(float v) |
void |
setWidth(int width) |
public GuiTexturePos2D(float u,
float v,
int width,
int height,
float maxWidth,
float maxHeight)
u - 材质UV坐标(横坐标)v - 材质UV坐标(纵坐标)width - 材质的宽度height - 材质的高度maxWidth - 材质图片的宽度maxHeight - 材质图片的高度public float getU()
public void setU(float u)
public float getV()
public void setV(float v)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public float getMaxWidth()
public void setMaxWidth(float maxWidth)
public float getMaxHeight()
public void setMaxHeight(float maxHeight)