Best way to get HMD world position in C++?

Assuming you have a reference to the camera, just get the component’s location and rotation.