- Home /
Question by
danieltex · Sep 15, 2015 at 02:58 PM ·
androidmobileorientation
Problem using WebCamTexture.videoRotationAngle on Android
I'm trying to use the videoRotationAngle property to correct the webcamTexture orientation on an multiplatform app.
WebCamTexture.videoRotationAngle
public int videoRotationAngle;
Description
Returns an clockwise angle (in degrees), which can be used to rotate a polygon so camera contents are shown in correct orientation.
It works fine on iOS, but on the Android devices I've tested, the videoRotationAngle property always returns 0 no matter the orientation of the device. Do I need to specify any permission for Android platform?
Comment
Your answer
Follow this Question
Related Questions
Unity Admob glitching game screen 1 Answer
FPS Controller from unmodified Standard Assets (U5) not working on Android!! 0 Answers
How to active mobile keyboard ? 1 Answer
iOS and Android Publishing 2 Answers
Creating an asset bundle at runtime 1 Answer