Community
Topic: Xamarin component
Change video position (SOLVED)
I working on TestRecognition Xamarin (iOS) sample.
My marker is a A4 page . I want change position from video . Now streamed on top. How can i change this ?
Thanks
Hi,
to change the video's position you have to modify the method bool computeModelViewProjectionMatrix(ref float[] mvMatrix, ref float[] pMatrix) {...} inside the clause: if (isTracking()) {...} and modify the mvMatrix accordingly.
Best,
Parameters is a little different for me bool computeModelViewProjectionMatrix(ref float[] mvpMatrix) {...}
Yes, there is an overload of that method, you should modify this one: bool computeModelViewProjectionMatrix(ref float[] mvMatrix, ref float[] pMatrix) {...}, that's the one used during maker's tracking.