Hololens/Lib/Cameras.cs
//#############################################################################################
/// <summary>
/// Return the last available frame.
/// </summary>
/// <returns> The frame is a SoftwareBitmap object that could be manipulate for tranformations. </returns>
Return the last available frame.
Return the last available frame .
public SoftwareBitmap GetFrame()
        {
            if (ReadFrame())
            {
                return SoftwareBitmap.Copy(_frame); 
            }
            else
            {
                return null;
            }
        }
public SoftwareBitmap GetFrame ( ) { if ( ReadFrame ( ) ) { return SoftwareBitmap . Copy ( _frame ) ; } else { return null ; } }
Return the last available frame.
Return the last available frame .
// check if a frame could be returned // return a copy of the last frame to avoid multiple i/o
The frame is a SoftwareBitmap object that could be manipulate for tranformations.
The frame is a SoftwareBitmap object that could be manipulate for tranformations .