How can i keep the my Image target size same as the size of the Quad in the HelloAR_Image Target Scene

0 votes
asked Aug 3, 2019 by ramuchilla (750 points)
How can I keep my Image target size same as the size of the Quad in the HelloAR_Image Target Scene
 

please, could anyone help,

I have an image target(659x1054), in HelloAR_Image Target Scene in that we have ImageTarget GameObject in we have Quad. what are the scale unity do i have to give for the Quad to represents my Image Target size

1 Answer

0 votes
answered Aug 6, 2019 by zhangpengar (3,060 points)
You need to set the width of the Quad to 1, and height to the aspect ratio(1054/659).

And you need to set the scale of the Quad the same as the scale you pass to ImageTarget.createFromImageFile, which can be 1 if you don't care about the physical size of your image target. If you care about the physical size, you can set the scale as the physical width of your marker in meters.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...