Interface IRayCastVectorProvider


@ClientOnly @Experimental public interface IRayCastVectorProvider
Decides where Waila will start ray casting for objects.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    getDirection(float delta)
    Returns the ray cast direction.
    getOrigin(float delta)
    Returns the ray cast origin.
    default boolean
    Returns whether this provider instance should be used.
  • Method Details

    • isEnabled

      default boolean isEnabled(IPluginConfig config)
      Returns whether this provider instance should be used.
      Parameters:
      config - current plugin configurations
    • getOrigin

      Vec3 getOrigin(float delta)
      Returns the ray cast origin.
      See Also:
    • getDirection

      Vec3 getDirection(float delta)
      Returns the ray cast direction.
      See Also: