Quad View
public interface QuadView
Content copied to clipboard
Interface for reading quad data encoded by MeshBuilder. Enables models to do analysis, re-texturing or translation without knowing the renderer's vertex formats and without retaining redundant information.
Only the renderer should implement or extend this interface.
Functions
colorIndex
Link copied to clipboard
abstract int colorIndex()
Content copied to clipboard
copyNormal
Link copied to clipboard
@Nullable()
Content copied to clipboard
copyTo
Link copied to clipboard
Extracts all quad properties except material to the given MutableQuadView instance.Must be used before calling {link QuadEmitter#emit()} on the target instance.Meant for re-texturing, analysis and static transformation use cases.
faceNormal
Link copied to clipboard
material
Link copied to clipboard
nominalFace
Link copied to clipboard
posByIndex
Link copied to clipboard
abstract float posByIndex(int vertexIndex, int coordinateIndex)
Content copied to clipboard
spriteColor
Link copied to clipboard
abstract int spriteColor(int vertexIndex, int spriteIndex)
Content copied to clipboard
toBakedQuad
Link copied to clipboard
Inheritors
MutableQuadView
Link copied to clipboard
Sources
jvm source
Link copied to clipboard