public class SpriteAwareVertexBuilder extends java.lang.Object implements IVertexBuilder
LOGGER| Constructor and Description |
|---|
SpriteAwareVertexBuilder(IVertexBuilder bufferIn,
TextureAtlasSprite spriteIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
addVertex(float x,
float y,
float z,
float red,
float green,
float blue,
float alpha,
float texU,
float texV,
int overlayUV,
int lightmapUV,
float normalX,
float normalY,
float normalZ) |
IVertexBuilder |
color(int red,
int green,
int blue,
int alpha) |
void |
endVertex() |
IVertexBuilder |
lightmap(int u,
int v) |
IVertexBuilder |
normal(float x,
float y,
float z) |
IVertexBuilder |
overlay(int u,
int v) |
IVertexBuilder |
pos(double x,
double y,
double z) |
IVertexBuilder |
tex(float u,
float v) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddQuad, addQuad, color, lightmap, normal, overlay, posaddVertexData, addVertexData, addVertexData, addVertexData, applyBakedLighting, applyBakedNormals, getVertexBuilderpublic SpriteAwareVertexBuilder(IVertexBuilder bufferIn, TextureAtlasSprite spriteIn)
public IVertexBuilder pos(double x, double y, double z)
pos in interface IVertexBuilderpublic IVertexBuilder color(int red, int green, int blue, int alpha)
color in interface IVertexBuilderpublic IVertexBuilder tex(float u, float v)
tex in interface IVertexBuilderpublic IVertexBuilder overlay(int u, int v)
overlay in interface IVertexBuilderpublic IVertexBuilder lightmap(int u, int v)
lightmap in interface IVertexBuilderpublic IVertexBuilder normal(float x, float y, float z)
normal in interface IVertexBuilderpublic void endVertex()
endVertex in interface IVertexBuilderpublic void addVertex(float x,
float y,
float z,
float red,
float green,
float blue,
float alpha,
float texU,
float texV,
int overlayUV,
int lightmapUV,
float normalX,
float normalY,
float normalZ)
addVertex in interface IVertexBuilder