- Home /
How to rotate webcamtexture?
Hi~ I'm korea developer.
Do not speak English well. Thank you for your understanding. (I use the Google translator.)
I have been display camera screen using WebcamTexture class. (My build platform is Windows and the target device surface RT.)
First, we work in accordance with the resolution 1080 x 1920. (portrate mode.)
WebcamTexture in Portate mode when using the screen display is rotated 90 degrees.
So I see the following URL pointers to rotate the screen 90 degrees. http://docs.unity3d.com/ScriptReference/WebCamTexture-videoRotationAngle.html
Results screen is shown below.
The first problem occurred at this.
Leads to the area of the space on the screen as you can see.
I think the problem is caused by the rotation texture after it is generated.
The second problem has occurred in the capture.
Results screen is saved again be rotated.
I'd like to get your advice on these two issues.
Your answer
![](https://koobas.hobune.stream/wayback/20220613181853im_/https://answers.unity.com/themes/thub/images/avi.jpg)