Class QuadClamper

java.lang.Object
codechicken.lib.model.pipeline.QuadTransformer
codechicken.lib.model.pipeline.transformers.QuadClamper
All Implemented Interfaces:
IVertexConsumer, IPipelineConsumer

public class QuadClamper extends QuadTransformer
This transformer simply clamps the vertices inside the provided box. You probably want to Re-Interpolate the UV's, Color, and Lmap, see QuadReInterpolator
  • Field Details

  • Constructor Details

  • Method Details

    • setClampBounds

      public void setClampBounds(net.minecraft.world.phys.AABB bounds)
    • setClampBounds

      public void setClampBounds(Cuboid6 bounds)
    • transform

      public boolean transform()
      Description copied from class: QuadTransformer
      Called to transform the vertices.
      Specified by:
      transform in class QuadTransformer
      Returns:
      If the transformer should pipe the quad.