Interface RayTraceResult<T extends Locatable>

Type Parameters:
T - The type of result

public interface RayTraceResult<T extends Locatable>
The result of a RayTrace
  • Method Summary

    Modifier and Type
    Method
    Description
    The position where the ray intersects the selected object.
    The selected object.
  • Method Details

    • selectedObject

      T selectedObject()
      The selected object.
      Returns:
      The object
    • hitPosition

      Vector3d hitPosition()
      The position where the ray intersects the selected object.
      Returns:
      The position