raycast abstract method

RaycastResult<ShapeHitbox>? raycast(
  1. Ray2 ray, {
  2. double? maxDistance,
  3. List<ShapeHitbox>? ignoreHitboxes,
  4. RaycastResult<ShapeHitbox>? out,
})

Implementation

RaycastResult<ShapeHitbox>? raycast(
  Ray2 ray, {
  double? maxDistance,
  List<ShapeHitbox>? ignoreHitboxes,
  RaycastResult<ShapeHitbox>? out,
});