Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • VRCameraMetrics

Index

Constructors

Properties

chromaAbCorrection: number[]

Define the chromatic aberration correction factors for the VR post process.

compensateDistortion: boolean

Define if the current vr camera should compensate the distortion of the lens or not.

distortionK: number[]

Define the distortion factor of the VR postprocess. Please, touch with care.

eyeToScreenDistance: number

Define the distance of the eyes to the screen.

hResolution: number

Define the horizontal resolution off the screen.

hScreenSize: number

Define the horizontal screen size.

interpupillaryDistance: number

Define the distance between both viewer's eyes.

lensCenterOffset: number

Define an offset for the lens center.

lensSeparationDistance: number

Define the distance between both lenses

multiviewEnabled: boolean

Defines if multiview should be enabled when rendering (Default: false)

postProcessScaleFactor: number

Define the scale factor of the post process. The smaller the better but the slower.

vResolution: number

Define the vertical resolution off the screen.

vScreenCenter: number

Define the vertical screen center position.

vScreenSize: number

Define the vertical screen size.

Accessors

  • get aspectRatio(): number
  • Gets the rendering aspect ratio based on the provided resolutions.

    Returns number

  • get aspectRatioFov(): number
  • Gets the aspect ratio based on the FOV, scale factors, and real screen sizes.

    Returns number

Methods

  • Get the default VRMetrics based on the most generic setup.

    Returns VRCameraMetrics

    the default vr metrics

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme