Class CompactSpan

java.lang.Object
org.recast4j.recast.CompactSpan

public class CompactSpan
extends java.lang.Object
Represents a span of unobstructed space within a compact heightfield.
  • Field Summary

    Fields
    Modifier and Type Field Description
    int con
    Packed neighbor connection data.
    int h
    The height of the span.
    int reg
    The id of the region the span belongs to.
    int y
    The lower extent of the span.
  • Constructor Summary

    Constructors
    Constructor Description
    CompactSpan()  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • y

      public int y
      The lower extent of the span. (Measured from the heightfield's base.)
    • reg

      public int reg
      The id of the region the span belongs to. (Or zero if not in a region.)
    • con

      public int con
      Packed neighbor connection data.
    • h

      public int h
      The height of the span. (Measured from #y.)
  • Constructor Details

    • CompactSpan

      public CompactSpan()