raycastAll abstract method

List<RaycastResult<ShapeHitbox>> raycastAll(
  1. Vector2 origin, {
  2. required int numberOfRays,
  3. double startAngle = 0,
  4. double sweepAngle = tau,
  5. double? maxDistance,
  6. List<Ray2>? rays,
  7. List<ShapeHitbox>? ignoreHitboxes,
  8. List<RaycastResult<ShapeHitbox>>? out,
})

Implementation

List<RaycastResult<ShapeHitbox>> raycastAll(
  Vector2 origin, {
  required int numberOfRays,
  double startAngle = 0,
  double sweepAngle = tau,
  double? maxDistance,
  List<Ray2>? rays,
  List<ShapeHitbox>? ignoreHitboxes,
  List<RaycastResult<ShapeHitbox>>? out,
});