Search Unity

Question 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.