Quantcast
Channel: iOS and tvOS
Viewing all articles
Browse latest Browse all 10823

RenderTexture coordinate system origin is bottom-left on iPad, but top-left on iPhone 5S

$
0
0
I'm using RenderTexture to take screenshots in my Unity game.

I have successfully managed to draw the Camera contents to the target RenderTexture and grab part of the RenderTexture's contents (i.e.: A Region Of Interest) using the code below:

Code (csharp):
  1.  
  2.  
  3. var renderTex =newRenderTexture((int)renderTexSize.x,(int)renderTexSize.y,24,RenderTextureFormat.ARGB32);...
RenderTexture coordinate system origin is bottom-left on iPad, but top-left on iPhone 5S

Viewing all articles
Browse latest Browse all 10823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>