VrDeviceInfo


Vocabulary
raylib

Class description
Hold the configuation for a VR device.

Fields
hResolutionintHMD horizontal resolution in pixels
vResolutionintHMD verticle resolution in pixels
hScreenSizefloatHMD horizontal size in meters
vScreenSizefloatHMD verticle size in meters
vScreenCenterfloatHMD screen center in meters
eyeToScreenDistancefloatHMD distance between eye and display in meters
lensSeparationDistancefloatHMD lens separation distance in meters
interpupillaryDistancefloatHMD IPD in meters
lensDistortionValuesfloat[4]HMD lens distortion constant parameters
chromaAbCorrectionfloat[4]HMD chromatic abberation correction parameters


Definition


STRUCT: VrDeviceInfo
{ hResolution int initial: 0 }
{ vResolution int initial: 0 }
{ hScreenSize float initial: 0.0 }
{ vScreenSize float initial: 0.0 }
{ vScreenCenter float initial: 0.0 }
{ eyeToScreenDistance float initial: 0.0 }
{ lensSeparationDistance float initial: 0.0 }
{ interpupillaryDistance float initial: 0.0 }
{ lensDistortionValues float[4] }
{ chromaAbCorrection float[4] } ;


Methods