Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice
  2. Read here for Unity's latest plans on OpenXR.
    Dismiss Notice

Help Wanted How to detect image orientation (Vertical/Horizontal)

Discussion in 'AR' started by AlexisAG, Nov 23, 2020.

  1. AlexisAG

    AlexisAG

    Joined:
    May 6, 2017
    Posts:
    1
    Hello,

    How can I detect the orientation of an image tracked with AR Foundation (4.1.1) ? Is it possible to know if the image is detected as horizontal orientation or vertical from the image model pass in the "XR Reference Image library" ?

    I would like to change my prefab if the image tracked is on vertical orientation or horizontal orientation.
     
unityunity