Interface IForgeModelTransform
-
- All Known Subinterfaces:
IModelTransform
- All Known Implementing Classes:
B3DLoader.B3DState
,ModelRotation
,ModelTransformComposition
,SimpleModelTransform
,Variant
public interface IForgeModelTransform
AnIModelState
is a function from model part to a transformation that should be applied when that part is baked, thus representing the current "state" of the model and its parts.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default TransformationMatrix
getPartTransformation(java.lang.Object part)
-
-
-
Method Detail
-
getPartTransformation
default TransformationMatrix getPartTransformation(java.lang.Object part)
- Parameters:
part
- Part of the model we are wanting to transform. An empty optional means we want a transform for the entire model.- Returns:
- A transformation to apply to the part, if any. The coordinate system of the transform is determined by the part type.
-
-