Class UnitTextureAtlasSprite
java.lang.Object
net.minecraft.client.renderer.texture.TextureAtlasSprite
net.minecraftforge.client.textures.UnitTextureAtlasSprite
A helper sprite with UVs spanning the entire texture.
Useful for baking quads that won't be used with an atlas.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.texture.TextureAtlasSprite
TextureAtlasSprite.Ticker
-
Field Summary
Modifier and TypeFieldDescriptionstatic final UnitTextureAtlasSprite
static final ResourceLocation
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.client.renderer.texture.TextureAtlasSprite
atlasLocation, contents, createTicker, getPixelRGBA, getU0, getU1, getUOffset, getV0, getV1, getVOffset, getX, getY, toString, uploadFirstFrame, uvShrinkRatio, wrap
-
Field Details
-
LOCATION
-
INSTANCE
-
-
Constructor Details
-
UnitTextureAtlasSprite
private UnitTextureAtlasSprite()
-
-
Method Details
-
getU
public float getU(float u) - Overrides:
getU
in classTextureAtlasSprite
-
getV
public float getV(float v) - Overrides:
getV
in classTextureAtlasSprite
-