public Image <Rgba32> RenderLayer(int mapId, int layer, int frame, bool filterTrash, int?minX = null, int?minY = null) { Map entry = GetMap(mapId); MapRender renderer = new MapRender(entry, entry.mapEntry); return(renderer.RenderLayer(frame, layer, filterTrash, minX, minY)); }
public Image <Rgba32> RenderLayer(int mapId, int layer, int frame) { Map entry = GetMap(mapId); MapRender renderer = new MapRender(entry, entry.mapEntry); return(renderer.RenderLayer(frame, layer)); }