Package codechicken.lib.vec.uv
Class IconTransformation
java.lang.Object
codechicken.lib.vec.ITransformation<UV,UVTransformation>
codechicken.lib.vec.uv.UVTransformation
codechicken.lib.vec.uv.IconTransformation
- All Implemented Interfaces:
IVertexOperation,Copyable<UVTransformation>
- Direct Known Subclasses:
ScaledIconTransformation
-
Nested Class Summary
Nested classes/interfaces inherited from interface codechicken.lib.render.pipeline.IVertexOperation
IVertexOperation.VertexOperationRegistry -
Field Summary
FieldsFields inherited from class codechicken.lib.vec.uv.UVTransformation
operationIndex -
Constructor Summary
ConstructorsConstructorDescriptionIconTransformation(net.minecraft.client.renderer.texture.TextureAtlasSprite icon) -
Method Summary
Modifier and TypeMethodDescriptionvoidApplies this transformation to veccopy()inverse()Attempts to invert the Transformation.voidoperate(CCRenderState ccrs) Perform the operation on the current render stateMethods inherited from class codechicken.lib.vec.uv.UVTransformation
at, load, operationID, withMethods inherited from class codechicken.lib.vec.ITransformation
$plus$plus, isRedundant, merge
-
Field Details
-
icon
public net.minecraft.client.renderer.texture.TextureAtlasSprite icon
-
-
Constructor Details
-
IconTransformation
public IconTransformation(net.minecraft.client.renderer.texture.TextureAtlasSprite icon) -
IconTransformation
-
-
Method Details
-
operate
Description copied from interface:IVertexOperationPerform the operation on the current render state- Specified by:
operatein interfaceIVertexOperation- Overrides:
operatein classUVTransformation
-
apply
Description copied from class:ITransformationApplies this transformation to vec- Specified by:
applyin classITransformation<UV,UVTransformation>
-
inverse
Description copied from class:ITransformationAttempts to invert the Transformation.The transformations inverse may be itself, or the transform may not have an inverse. In that case a
IrreversibleTransformationExceptionis thrown.- Specified by:
inversein classITransformation<UV,UVTransformation> - Returns:
- The inverse transform.
-
copy
-