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.
public Brine2D.ECS.Query.EntityQuery WithinBounds(Brine2D.Core.Rectangle bounds);
Parameters¶
bounds Rectangle