Share via


DepthFrameReader.AcquireLatestFrame Method

Gets the most recent depth frame.

Syntax

public:
DepthFrame^ AcquireLatestFrame()
public DepthFrameAcquireLatestFrame ()
var depthFrame = depthFrameReader.acquireLatestFrame();

Return value

Type: DepthFrame
The most recent depth frame.

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

DepthFrameReader Class
WindowsPreview.Kinect Namespace