Hololens/Lib/Cameras.cs
//################################################################################
/// <summary>
/// Save a frame in its _frame attribute as a SoftwareBitmap object.
/// </summary>
Save a frame in its _frame attribute as a SoftwareBitmap object.
Save a frame in its _frame attribute as a SoftwareBitmap object .
public async Task CaptureFrame()
        {
            if (_capture_enabled)
            {
                await _mediaCapture.GetPreviewFrameAsync(_videoFrame);
                _frame = _videoFrame.SoftwareBitmap;
            }
        }
public async Task CaptureFrame ( ) { if ( _capture_enabled ) { await _mediaCapture . GetPreviewFrameAsync ( _videoFrame ) ; _frame = _videoFrame . SoftwareBitmap ; } }
Save a frame in its _frame attribute as a SoftwareBitmap object.
Save a frame in its _frame attribute as a SoftwareBitmap object .