Interface IForgeModelTransform

All Known Subinterfaces:
All Known Implementing Classes:
B3DLoader.B3DState, ModelRotation, ModelTransformComposition, SimpleModelTransform, Variant

public interface IForgeModelTransform
An IModelState 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 Details

    • getPartTransformation

      default TransformationMatrix getPartTransformation(Object part)
      part - Part of the model we are wanting to transform. An empty optional means we want a transform for the entire model.
      A transformation to apply to the part, if any. The coordinate system of the transform is determined by the part type.