Esempio n. 1
0
 internal FrameTiming(FrameTiming_Raw raw)
 {
     this.DeltaSeconds = raw.DeltaSeconds;
     this.ThisFrameSeconds = raw.ThisFrameSeconds;
     this.TimewarpPointSeconds = raw.TimewarpPointSeconds;
     this.NextFrameSeconds = raw.NextFrameSeconds;
     this.ScanoutMidpointSeconds = raw.ScanoutMidpointSeconds;
     this.EyeScanoutSeconds = new double[2] { raw.EyeScanoutSeconds_0, raw.EyeScanoutSeconds_1 };
 }
Esempio n. 2
0
 internal FrameTiming(FrameTiming_Raw raw)
 {
     this.DeltaSeconds           = raw.DeltaSeconds;
     this.ThisFrameSeconds       = raw.ThisFrameSeconds;
     this.TimewarpPointSeconds   = raw.TimewarpPointSeconds;
     this.NextFrameSeconds       = raw.NextFrameSeconds;
     this.ScanoutMidpointSeconds = raw.ScanoutMidpointSeconds;
     this.EyeScanoutSeconds      = new double[2] {
         raw.EyeScanoutSeconds_0, raw.EyeScanoutSeconds_1
     };
 }
Esempio n. 3
0
        public FrameTiming BeginFrameTiming(uint frameIndex)
        {
            FrameTiming_Raw raw = ovrHmd_BeginFrameTiming(this._hmd, frameIndex);

            return(new FrameTiming(raw));
        }