I'm trying to get the camera pose based on each marker like in this post:
https://developer.vuforia.com/resources/dev-guide/getting-camera-position
I'm using Unity 3, and don't know how much of the Vuforia API I can reference. All I really need is to be able to do
trackable->GetPose()
and I can find or write matrix libraries that invert the 3x4 matrix and extract the camera position relative to the trackable. How do I access the regular API from Unity?
However, isn't gameObject.transform the transform between the world coordinates and the gameObject?
Correct. But that's your starting point. Then you need to get the Camera matrices as well and then you can combine the transform matrices together so to go from object to camera coordinates. That's part of the Unity API (see also the Camera API), it's not something specific to Vuforia.