EntityQuery.WithinBounds(Rectangle) Method
Definition
Namespace: Brine2D.ECS.Query
Filters entities within a rectangular bounds. Requires entities to have a TransformComponent. Can be combined with WithinRadius\(Vector2, float\) for compound spatial filtering.
Parameters
bounds Rectangle