VrDeviceInfoD constructor

VrDeviceInfoD({
  1. Pointer<VrDeviceInfoC>? originalPointer,
  2. int hResolution = 0,
  3. int vResolution = 0,
  4. double hScreenSize = 0,
  5. double vScreenSize = 0,
  6. double eyeToScreenDistance = 0,
  7. double lensSeparationDistance = 0,
  8. double interpupillaryDistance = 0,
  9. List<double>? lensDistortionValues,
  10. List<double>? chromaAbCorrection,
})

Implementation

VrDeviceInfoD({
  super.originalPointer,
  this.hResolution = 0,
  this.vResolution = 0,
  this.hScreenSize = 0,
  this.vScreenSize = 0,
  this.eyeToScreenDistance = 0,
  this.lensSeparationDistance = 0,
  this.interpupillaryDistance = 0,
  List<double>? lensDistortionValues,
  List<double>? chromaAbCorrection,
}) {
  this.lensDistortionValues = lensDistortionValues ?? .filled(paramCount, 0);
  this.chromaAbCorrection = chromaAbCorrection ?? .filled(paramCount, 0);
}