bevy/assets/textures/fantasy_ui_borders
Félix Lescaudey de Maneville fc202f2e3d
Slicing support for texture atlas (#12059)
# Objective

Follow up to #11600 and #10588 
https://github.com/bevyengine/bevy/issues/11944 made clear that some
people want to use slicing with texture atlases

## Changelog

* Added support for `TextureAtlas` slicing and tiling.
`SpriteSheetBundle` and `AtlasImageBundle` can now use `ImageScaleMode`
* Added new `ui_texture_atlas_slice` example using a texture sheet

<img width="798" alt="Screenshot 2024-02-23 at 11 58 35"
src="https://github.com/bevyengine/bevy/assets/26703856/47a8b764-127c-4a06-893f-181703777501">

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
Co-authored-by: Pablo Reinhardt <126117294+pablo-lua@users.noreply.github.com>
2024-03-05 16:05:39 +00:00
..
border_sheet.png Slicing support for texture atlas (#12059) 2024-03-05 16:05:39 +00:00
License.txt UI Texture 9 slice (#11600) 2024-02-07 20:07:53 +00:00
panel-border-010.png UI Texture 9 slice (#11600) 2024-02-07 20:07:53 +00:00
panel-border-015.png UI Texture 9 slice (#11600) 2024-02-07 20:07:53 +00:00