raycastAll method
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< ? out,ShapeHitbox> >
override
Implementation
@override
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,
}) {
return collisionDetection.raycastAll(
origin,
numberOfRays: numberOfRays,
startAngle: startAngle,
sweepAngle: sweepAngle,
maxDistance: maxDistance,
rays: rays,
ignoreHitboxes: ignoreHitboxes,
out: out,
);
}