Log in or register to post comments

Image Target

July 14, 2020 - 11:13pm #1

Hi there,

is there way to check whether image target is placed vertically or horizontally. Or is there a solution to check whether device camera is vertical or horizontal holding

Image Target

July 16, 2020 - 6:24am #2

Hi,

Unfortunately not directly from Vuforia. In regard to your second question, I would suggest to look over screen orientation or device orientation.

https://docs.unity3d.com/ScriptReference/Screen-orientation.html

https://docs.unity3d.com/ScriptReference/Input-deviceOrientation.html

This might help to determine if the screen is in landscape mode ( horizontal) or vertical.

Thank you.

Vuforia Engine Support

Log in or register to post comments