This represents all the required metrics to create a VR camera.
Gets the rendering aspect ratio based on the provided resolutions.
Gets the aspect ratio based on the FOV, scale factors, and real screen sizes.
Define the chromatic aberration correction factors for the VR post process.
Define if the current vr camera should compensate the distortion of the lense or not.
Define the distortion factor of the VR postprocess. Please, touch with care.
Define the distance of the eyes to the screen.
Define the horizontal resolution off the screen.
Define the horizontal screen size.
Define the distance between both viewer's eyes.
Define an offset for the lens center.
Define the distance between both lenses
Defines if multiview should be enabled when rendering (Default: false)
Define the scale factor of the post process. The smaller the better but the slower.
Define the vertical resolution off the screen.
Define the vertical screen center position.
Define the vertical screen size.
Get the default VRMetrics based on the most generic setup.
the default vr metrics
Generated using TypeDoc