Calculate On Screen Width
- Exposure: public
- UE Version: 5.0
Function for calculating the screen width in centimeters. Basically the size of an object that would fill the width of the screen at a specified distance. Useful for doing other camera calculations like Dolly Zooms.
ScreenWidth = Distance × Tan( FOV / 2 ) × 2
ctrl + v