FarseerPhysics.Dynamics.World.queryAABB C# (CSharp) Method

queryAABB() public method

Query the world for all fixtures that potentially overlap the provided AABB. Use the overload with a callback for filtering and better performance.
public queryAABB ( AABB &aabb ) : List
aabb AABB The aabb query box.
return List
		public List<Fixture> queryAABB( ref AABB aabb )
		{
			var affected = new List<Fixture>();

			queryAABB( fixture =>
			{
				affected.Add( fixture );
				return true;
			}, ref aabb );

			return affected;
		}

Same methods

World::queryAABB ( bool>.Func callback, AABB &aabb ) : void