java.lang.Object
team.lodestar.lodestone.systems.model.obj.modifier.ModelModifier
Direct Known Subclasses:
CopyWithPoseModifier, PoseModifier, TriangulateModifier

public abstract class ModelModifier extends Object
  • Constructor Details

    • ModelModifier

      public ModelModifier()
  • Method Details

    • applyEarly

      public void applyEarly(ObjParser.Builder parsedModel)
      Apply the modification to the model before it is built.
      Parameters:
      parsedModel - The model that is being built.
    • apply

      public abstract void apply(IndexedModel model)
      Apply the modification to the whole IndexedModel.
      Parameters:
      model - The model to apply the modification to.
    • apply

      public abstract void apply(IndexedModel model, IndexedMesh mesh)
      Apply the modification to a specific IndexedMesh in an IndexedModel.
      Parameters:
      model - The model that contains the mesh.
      mesh - The mesh to apply the modification to.