Announcement

Collapse
No announcement yet.

Camera Ortho Width when the viewport resize

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Camera Ortho Width when the viewport resize

    Hi,
    Is it possible to have the viewport resize event to change the ortho width of the camera to keep pixel perfect ?
    How achieve that correctly ?
    Thanks

  • #2
    You need a delay node on a blueprints begin play event, then the Get Viewport Size node (https://docs.unrealengine.com/latest...ize/index.html), then you divide the viewport width by 2 and set that as the camera ortho width.

    Comment

    Working...
    X