Hello there!
In my project I need to have access to the camera modelview matrix. I read some threads here but none of them gave a decisive answer.
Is it even possible to have access to the modelView matrix of the camera? And I don't mean the matrix that one can get from Unity camera attached to the ARCamera. It appears that in other SDKs (like c++, java in the following link ) this is possible via the the Tool namespace(https://library.vuforia.com/articles/Solution/Working-with-the-Camera), but not in Unity. If the answer is negative, how can I develop a plugin for Unity that simply returns the parameters I want? Just need a starting point.
Best regards
-Dana Scully
Hello,
In general, the modelview matrix is the matrix that transforms from local object space to camera space.
In Unity, you can do this in two steps:
The Vuforia camera can be obtained via DigitalEyewearController.Instance.PrimaryCamera
Thanks,
Vuforia Engine Support