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

testPointAll() public method

Returns a list of fixtures that are at the specified point.
public testPointAll ( Vector2 point ) : List
point Vector2 The point.
return List
		public List<Fixture> testPointAll( Vector2 point )
		{
			AABB aabb;
			var d = new Vector2( Settings.epsilon, Settings.epsilon );
			aabb.lowerBound = point - d;
			aabb.upperBound = point + d;

			_point2 = point;
			_testPointAllFixtures = new List<Fixture>();

			// Query the world for overlapping shapes.
			queryAABB( testPointAllCallback, ref aabb );

			return _testPointAllFixtures;
		}