Get world area of screen capture 2d render target
TLDR I am trying to make a minimap where the clicked location(s) of the widget will be mapped to world location (ignoring the Z value).
On my level I have added a screen capture 2d and have referenced it at the gamemode so I can access it anytime.
My minimap widget looks like that:
And the logic for x and y like this:
I am trying to find out the values I need to plug into out A and out B (Value = screen coordinates of click, in A , B are calculated based on the location and dimensions of "ViewPanel").
I have made the screenCapture2d save to a target texture (1024 x 1024) and then I've made that into a material to use for the widget.
Extra render target info:
asked Dec 06 '15 at 12:55 PM in Using UE4
answered May 14 '16 at 06:31 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here