BodyFrameReader.AcquireLatestFrame Method

Gets the most recent frame. It may return null if no frame is available.

Note AcquireLatestFrame will always return nullptr in shared apps that are currently snapped and in exclusive apps that have disabled the Kinect GPU reservation using the CoreApplication.DisableKinectGpuReservation property. See the DisableKinectGpuReservation remarks section for more information.

Syntax

public:
BodyFrame^ AcquireLatestFrame()  

Return value

Type: BodyFrame 

The most recent frame.

Requirements

Namespace: Windows.Kinect

Metadata: windows.winmd

See also

Reference

BodyFrameReader Class

BodyFrameReader Members

Windows.Kinect Namespace