Hello,
I’d like to retrieve the extrinsic matrix from the Hololens 2 camera. All the docs refer me to PhotoCaptureFrame.TryGetCameraToWorldMatrix(). If this matrix retrieves the transformation between the real camera and the unity camera, what does World mean in the function ? What are the coordinates systems for the camera and the World? Are they left or right hand repositories?
Thanks,
Nathan
I’m playing with this right now, and it looks like the World here refers to Unity world space; so you don’t get the transform between the Unity camera and the PV camera, but just the PV camera’s world transform.
You can then get position and rotation from that matrix like this: Photo Video camera in Unity - Mixed Reality | Microsoft Learn and spawn something there with GameObject.transform.SetPositionAndRotation
.