Class DhApiRenderableBoxGroupShading

java.lang.Object
com.seibel.distanthorizons.api.objects.render.DhApiRenderableBoxGroupShading

public class DhApiRenderableBoxGroupShading extends Object
Since:
API 3.0.0
See Also:
  • Field Details

    • north

      public float north
      negative X
    • south

      public float south
      positive X
    • east

      public float east
      positive X
    • west

      public float west
      negative X
    • top

      public float top
      positive Y
    • bottom

      public float bottom
      negative Y
  • Constructor Details

    • DhApiRenderableBoxGroupShading

      public DhApiRenderableBoxGroupShading()
  • Method Details

    • getDefaultShaded

      public static DhApiRenderableBoxGroupShading getDefaultShaded()
    • getUnshaded

      public static DhApiRenderableBoxGroupShading getUnshaded()
    • setDefaultShaded

      public void setDefaultShaded()
      Directions will have different brightness similar to Minecraft blocks.
      This is a good default for un-lit objects.
    • setUnshaded

      public void setUnshaded()
      All directions render with the same brightness.
      This is best used for glowing objects like beacons.