For Unity 2019.3+ | URP | HDRP | Built-in


Film Bars

Film Bars

Fits the viewport to a desired aspect ratio and displays black bars above and below the viewport. Great for cutscenes.

Parameters

Aspect Float

The desired aspect ratio of the viewport, represented by a single decimal value (width / height). Here is a quick guide to common aspect ratios and the values you should use.
Aspect Ratio Property Value
12 : 5 2.4
21 : 9 2.333
16 : 9 1.777
5 : 3 1.666
3 : 2 1.5
4 : 3 1.333
5 : 4 1.25

Known Issues

There are no known issues at the moment.