Class UnitTextureAtlasSprite
java.lang.Object
net.minecraft.client.renderer.texture.TextureAtlasSprite
net.neoforged.neoforge.client.textures.UnitTextureAtlasSprite
- All Implemented Interfaces:
AutoCloseable
A helper sprite with UVs spanning the entire texture.
Useful for baking quads that won't be used with an atlas.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.client.renderer.texture.TextureAtlasSprite
atlasLocation, close, contents, createAnimationState, getPixelRGBA, getU0, getU1, getV0, getV1, getX, getY, toString, uploadFirstFrame, uploadSpriteUbo, wrap
-
Field Details
-
LOCATION
-
INSTANCE
-
-
Constructor Details
-
UnitTextureAtlasSprite
private UnitTextureAtlasSprite()
-
-
Method Details
-
getU
public float getU(float u) - Overrides:
getUin classTextureAtlasSprite
-
getV
public float getV(float v) - Overrides:
getVin classTextureAtlasSprite
-