Box

This tag defines a regular rectangular solid where all of the faces meet at 90 degrees along each edge. The more segments, the higher precision the lighting calculations. Changes to these attributes have no effect during runtime. The attributes specific to this tag are:

  • depth – The length of this solid in the Z axis.
  • height – The length of this solid in the Y axis.
  • width – The length of this solid in the X axis.
  • segments-depth – The number of segments in the depth (Z) direction.
  • segments-height – The number of segments in the height (Y) direction.
  • segments-width – The number of segments in the width (X) direction.