类 Transformation
java.lang.Object
committee.nova.mods.avaritia.api.util.vec.ITransformation<Vector3,Transformation>
committee.nova.mods.avaritia.api.util.vec.Transformation
- 所有已实现的接口:
IVertexOperation,Copyable<Transformation>
- 直接已知子类:
Matrix4,RedundantTransformation,Rotation,Scale,TransformationList,Translation,VariableTransformation
public abstract class Transformation
extends ITransformation<Vector3,Transformation>
implements IVertexOperation
Abstract supertype for any 3D vector transformation
-
嵌套类概要
从接口继承的嵌套类/接口 committee.nova.mods.avaritia.api.client.render.pipeline.IVertexOperation
IVertexOperation.VertexOperationRegistry -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明abstract voidApplies this transformation to a matrix as a multiplication on the right hand side.abstract voidApplies this transformation to a normal (doesn't translate)booleanload(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 returned从类继承的方法 committee.nova.mods.avaritia.api.util.vec.ITransformation
$plus$plus, apply, inverse, isRedundant, merge
-
字段详细资料
-
operationIndex
public static final int operationIndex
-
-
构造器详细资料
-
Transformation
public Transformation()
-
-
方法详细资料
-
applyN
Applies this transformation to a normal (doesn't translate)- 参数:
normal- The normal to transform
-
apply
Applies this transformation to a matrix as a multiplication on the right hand side.- 参数:
mat- The matrix to combine this transformation with
-
at
- 指定者:
at在类中ITransformation<Vector3,Transformation> - 参数:
point- The point to apply this transformation around- 返回:
- Wraps this transformation in a translation to point and then back from point
-
with
从类复制的说明:ITransformationCreates a TransformationList composed of this transformation followed by t If this is a TransformationList, the transformation will be appended and this returned- 指定者:
with在类中ITransformation<Vector3,Transformation>
-
load
从接口复制的说明: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- 指定者:
load在接口中IVertexOperation
-
operate
从接口复制的说明:IVertexOperationPerform the operation on the current render state- 指定者:
operate在接口中IVertexOperation
-
operationID
public int operationID()从接口复制的说明: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- 指定者:
operationID在接口中IVertexOperation
-