setD method

  1. @override
VrDeviceInfoD setD(
  1. VrDeviceInfoD o
)
override

Copies the fields of the Dart struct o into this instance.

Implementation

@override
VrDeviceInfoD setD(VrDeviceInfoD o) {
  originalPointer ??= o.originalPointer;
  hResolution = o.hResolution;
  vResolution = o.vResolution;
  hScreenSize = o.hScreenSize;
  vScreenSize = o.vScreenSize;
  eyeToScreenDistance = o.eyeToScreenDistance;
  lensSeparationDistance = o.lensSeparationDistance;
  interpupillaryDistance = o.interpupillaryDistance;
  lensDistortionValues = .from(o.lensDistortionValues);
  chromaAbCorrection = .from(o.chromaAbCorrection);
  return this;
}