Package codechicken.lib.vec.uv
Class UVTransformation
- All Implemented Interfaces:
IVertexOperation,Copyable<UVTransformation>
- Direct Known Subclasses:
IconTransformation,MultiIconTransformation,UVRotation,UVScale,UVTransformationList,UVTranslation
public abstract class UVTransformation
extends ITransformation<UV,UVTransformation>
implements IVertexOperation
Abstract supertype for any UV transformation
-
Nested Class Summary
Nested classes/interfaces inherited from interface codechicken.lib.render.pipeline.IVertexOperation
IVertexOperation.VertexOperationRegistry -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanload(CCRenderState ccrs) Load any required references and add dependencies to the pipeline based on the current model (may be null) Return false if this operation is redundant in the pipeline with the given modelvoidoperate(CCRenderState ccrs) Perform the operation on the current render stateintGet the unique id representing this type of operation.Creates a TransformationList composed of this transformation followed by t If this is a TransformationList, the transformation will be appended and this returnedMethods inherited from class codechicken.lib.vec.ITransformation
$plus$plus, apply, inverse, isRedundant, merge
-
Field Details
-
operationIndex
public static final int operationIndex
-
-
Constructor Details
-
UVTransformation
public UVTransformation()
-
-
Method Details
-
at
- Specified by:
atin classITransformation<UV,UVTransformation> - Parameters:
point- The point to apply this transformation around- Returns:
- Wraps this transformation in a translation to point and then back from point
-
with
Description copied from class:ITransformationCreates a TransformationList composed of this transformation followed by t If this is a TransformationList, the transformation will be appended and this returned- Specified by:
within classITransformation<UV,UVTransformation>
-
load
Description copied from interface:IVertexOperationLoad any required references and add dependencies to the pipeline based on the current model (may be null) Return false if this operation is redundant in the pipeline with the given model- Specified by:
loadin interfaceIVertexOperation
-
operate
Description copied from interface:IVertexOperationPerform the operation on the current render state- Specified by:
operatein interfaceIVertexOperation
-
operationID
public int operationID()Description copied from interface:IVertexOperationGet the unique id representing this type of operation. Duplicate operation IDs within the pipeline may have unexpected results. ID should be obtained from CCRenderState.registerOperation() and stored in a static variable- Specified by:
operationIDin interfaceIVertexOperation
-