easyar 3.0.1 API imagehorizontalflip how to use.

0 votes

1 Answer

0 votes
answered Aug 6, 2019 by zhangpengar (3,060 points)
You can pass manualHorizontalFlip=true in CameraParameters.imageProjection

If you'd like tracked targets to be flipped, you need to pass manualHorizontalFlip=true in CameraParameters.projection, too. You may also need to adjust culling options of your virtual content to render it properly.

imageHorizontalFlip is for manual calculation of the projection matrix.
commented Aug 6, 2019 by asamurai (120 points)
There's not easy way like easyar2.3? (one check box at unity inspector)
commented Aug 6, 2019 by zhangpengar (3,060 points)
We have planned to add a sample for camera switching and flipping scheduled in EasyAR 4.0. One or two check boxes may be added to Unity inspector.
commented Aug 6, 2019 by asamurai (120 points)
ok! thanks very much. keep awesome work!
commented Oct 28, 2019 by frander (160 points)
This might be changed in the Arsession script? Do you have some examples of how to do that?
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.