Class TextureHandle
java.lang.Object
dev.pfaff.altargui.texture.TextureHandle
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionint
texToAtlasX
(float x) int
texToAtlasY
(float y) static TextureHandle
unmanaged
(int layer, char u, char v, TextureAtlasScale atlasScale, int textureWidth, int textureHeight)
-
Field Details
-
layer
public final int layer -
u
public final char uThe base U of the texture in the atlas. Normalized. -
v
public final char vThe base U of the texture in the atlas. Normalized.
-
-
Method Details
-
unmanaged
public static TextureHandle unmanaged(int layer, char u, char v, TextureAtlasScale atlasScale, int textureWidth, int textureHeight) -
texToAtlasX
public int texToAtlasX(float x) -
texToAtlasY
public int texToAtlasY(float y)
-