-
Notifications
You must be signed in to change notification settings - Fork 1.3k
IVRSystem::GetEyeToHeadTransform
Jeremy McCulloch edited this page Nov 1, 2018
·
2 revisions
HmdMatrix34_t GetEyeToHeadTransform( Hmd_Eye eEye )
Returns the transform between the view space and eye space. Eye space is the per-eye flavor of view space that provides stereo disparity. Instead of Model * View * Projection the model is Model * View * Eye * Projection. Normally View and Eye will be multiplied together and treated as View in your application.
This matrix incorporates the user's interpupillary distance (IPD).
-
eEye
-Eye_Left
orEye_Right
. Determines which eye the function should return the eye matrix for.