// Token: 0x06002DD7 RID: 11735 RVA: 0x000E14F0 File Offset: 0x000DF8F0 private void Dispose(bool disposing) { if (this._pNative == IntPtr.Zero) { return; } this.__EventCleanup(); NativeObjectCache.RemoveObject <MultiSourceFrameReference>(this._pNative); MultiSourceFrameReference.Windows_Kinect_MultiSourceFrameReference_ReleaseObject(ref this._pNative); this._pNative = IntPtr.Zero; }
// Token: 0x06002DD9 RID: 11737 RVA: 0x000E1530 File Offset: 0x000DF930 public MultiSourceFrame AcquireFrame() { if (this._pNative == IntPtr.Zero) { throw new ObjectDisposedException("MultiSourceFrameReference"); } IntPtr intPtr = MultiSourceFrameReference.Windows_Kinect_MultiSourceFrameReference_AcquireFrame(this._pNative); ExceptionHelper.CheckLastError(); if (intPtr == IntPtr.Zero) { return(null); } return(NativeObjectCache.CreateOrGetObject <MultiSourceFrame>(intPtr, (IntPtr n) => new MultiSourceFrame(n))); }
// Token: 0x06002DD2 RID: 11730 RVA: 0x000E149C File Offset: 0x000DF89C internal MultiSourceFrameReference(IntPtr pNative) { this._pNative = pNative; MultiSourceFrameReference.Windows_Kinect_MultiSourceFrameReference_AddRefObject(ref this._pNative); }