pub unsafe extern "C" fn QTMU_GetTrackingData(
outData: *mut QtmTrackingData,
) -> ResultExpand description
Gets the current normalized eye tracking data, made suitable for 3D programming.
§Arguments
outData(direction out) - Where to write the raw tracking data to. Cleared to all-zero on failure (instead of being left uninitialized).
§Returns
0xC8A18008 if camera is in use by user, or 0xC8A183EF if QTM is unavailable (in particular, QTM is always
unavailable on N2DSXL). Otherwise, 0 (success). Return value should be checked by caller.
Note: This can, for example, be used in games to allow the user to control the scene’s camera with their own face.