getOpticsToBodyRotation

getOpticsToBodyRotation

Method of Antilatency.Alt.Tracking.ITrackingDataCotask
Returns the adjustment quaternion that transforms rays from the camera local coordinates to the tracker body local coordinates. This correction is not applied to the rays passed to the ITrackingDataCallback.onTrackingFrame callback. You may need to either apply it to each ray manually, or process rays as they are, and then adjust accordingly the result of your computation.

Return value

Math.floatQ
The unit quaternion that represents the adjustment. Since this value is retrieved during the optic calibration procedures, it will vary from one Alt tracker to another.