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.16
§Features
- Provides an easy, but powerful, API for camera boxing!
§Quick Start
- Add the
CameraBoxingPlugin
- Add the
CameraBox
component to your Camera, and configure what you need.
Structs§
- Camera
Boxing Plugin - The Plugin that adds in all the systems for camera-boxing.
Enums§
- Camera
Box - Configures how to box the output, with either: PillarBoxes, Letterboxes, or both.