Question by
staraffinity · Jan 12, 2016 at 01:22 PM ·
camera viewport
Make orthographic camera view fit canvas
I have a canvas showing an image with aspect ratio 4:3 that I want to fill the camera view. What’s the best way to do this? I can of course move it manually so it fits ”somewhat” but I'm sure there's a better way.
It seems logical to use an orthographic camera but how to set it up? I can’t get my head around the examples I’ve found here on Unity Answers and on the web. :(
Could someone please help?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612055931im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Keep 2 players on screen by moving camera back 2 Answers
Resizing camera based on device 0 Answers
(C#) Switching between two cameras - one not appearing (noob) 0 Answers
Detect when edge of the map is in camera view and dont random spawn enemy inside of it 0 Answers
'Depth only' function on main camera not working properly 0 Answers