Interface TexturedSink
- All Superinterfaces:
MeshSink
Takes textured quads: four vertices per quad, in order around it. Each vertex is a position, texture coordinates, a
normal and a colour that multiplies the texture. With lighting on, the normal shades the quad as Minecraft 1.8.9
shades entities: two fixed directional lights and an ambient term (see
MeshRenderer.lighting(boolean)).-
Method Details
-
vertex
TexturedSink vertex(float x, float y, float z, float u, float v, float nx, float ny, float nz, int argb) Writes one vertex.- Parameters:
x- xy- yz- zu- texture uv- texture vnx- normal xny- normal ynz- normal zargb- the tint,0xAARRGGBB;0xFFFFFFFFfor none- Returns:
- this sink
-
transform
Description copied from interface:MeshSinkSets the transform for the vertices that follow. The matrix is copied.
-