# How can I set vertical AND horizontal FoV independent from each other with a cine camera in C++?

**URL:** <https://forums.unrealengine.com/t/how-can-i-set-vertical-and-horizontal-fov-independent-from-each-other-with-a-cine-camera-in-c/1444658>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [December 1, 2023, 2:49pm UTC](https://forums.unrealengine.com/t/how-can-i-set-vertical-and-horizontal-fov-independent-from-each-other-with-a-cine-camera-in-c/1444658 "2023-12-01T14:49:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [December 5, 2023, 8:13pm UTC](https://forums.unrealengine.com/t/how-can-i-set-vertical-and-horizontal-fov-independent-from-each-other-with-a-cine-camera-in-c/1444658/4 "2023-12-05T20:13:10Z")

</div>

To get the image to stretch to fill the window, no matter what the window dimensions are, you will have to use a render target to render from the camera, and then map the rendered part of that render target as a texture onto the window using a simple GUI widget bound to the target.

---

_[View the full topic](https://forums.unrealengine.com/t/how-can-i-set-vertical-and-horizontal-fov-independent-from-each-other-with-a-cine-camera-in-c/1444658)._
