FuncWorks.XNA.XTiled.Map.GetTilesInRegion C# (CSharp) Method

GetTilesInRegion() public method

Returns a collection of TileData inside the given region
public GetTilesInRegion ( Int32 tileLayerID, Rectangle region ) : IEnumerable
tileLayerID System.Int32 The tile layer to check
region Microsoft.Xna.Framework.Rectangle The region, in pixles, to check
return IEnumerable
        public IEnumerable<TileData> GetTilesInRegion(Int32 tileLayerID, Rectangle region)
        {
            return this.GetTilesInRegion(tileLayerID, ref region);
        }

Same methods

Map::GetTilesInRegion ( Rectangle region ) : IEnumerable