Share via


DepthFrameReader Class

Represents a reader for depth frames.

Syntax

public ref class DepthFrameReader sealed : IClosable, INotifyPropertyChanged
public sealed class DepthFrameReader : IDisposable, INotifyPropertyChanged
var depthFrameReader = WindowsPreview.Kinect.DepthFrameReader;

Members

DepthFrameReader has the following members.

Properties

Name Description
DepthFrameSource Gets the source of the depth frames.
IsPaused Gets or sets whether the depth frame reader is paused.

Methods

Name Description
AcquireLatestFrame Gets the most recent depth frame.
Close Closes and releases system resources associated with the depth frame reader.

Events

Name Description
FrameArrived Event that fires whenever a frame is captured.
PropertyChanged Occurs when a property of the DepthFrameReader class changes.

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

WindowsPreview.Kinect Namespace