Expand description
bevy_simple_screen_boxing aims to provide a simple, easy, and convenient way to set and manage
camera boxing (that is, letterboxing and pillarboxing) in order to ensure that the output is
within the right resolution or aspect ratio.
It provides ways to set a singular static resolution or aspect ratio, to always ensure the output is at a resolution that is an integer scale, or provide manually specified letter/pillarboxing.
This crate requires bevy version 0.17
§Features
- Provides an easy, but powerful, API for camera boxing!
§Quick Start
- Add the
CameraBoxingPlugin - Add the
CameraBoxcomponent to your Camera, and configure what you need.
Structs§
- Adjust
Boxing - This event is used to tell us that we need to recalculate our Camera Boxes.
- Camera
Boxing Plugin - The Plugin that adds in all the systems for camera-boxing.
- HasNested
- Nested
Within - This is used to denote that a CameraBox is ‘nested within’ another camera box. Use this if you want to add on the effect of another CameraBox onto a CameraBox.
Enums§
- Camera
Box - Configures how to box the output, with either: PillarBoxes, Letterboxes, or both.
- Camera
BoxSet - The system set provided and used by the plugin for ordering.