Class DhApiRaycastResult

java.lang.Object
com.seibel.distanthorizons.api.objects.data.DhApiRaycastResult

public class DhApiRaycastResult extends Object
Holds a single datapoint of terrain data and the block position from the raycast.
Since:
API 1.0.0
  • Field Details

    • pos

      public final DhApiVec3i pos
      LOD position of this raycast.

      Note: This will NOT be the exact block position if the LOD the ray hits is more than one block tall. In that case this will be the bottom block position for that LOD.
    • dataPoint

      public final DhApiTerrainDataPoint dataPoint
      The LOD data at this position.
  • Constructor Details