VisualGestureBuilderFrameReader.CalculateAndAcquireLatestFrame Method

Calculates and gets the latest frame. It may return null if no frame is available.

Note CalculateAndAcquireLatestFrame 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:
VisualGestureBuilderFrame^ CalculateAndAcquireLatestFrame()  

Return value

Type: VisualGestureBuilderFrame 

The latest frame.

Requirements

Namespace: Microsoft.Kinect

Metadata: microsoft.kinect.winmd

See also

Reference

VisualGestureBuilderFrameReader Class

VisualGestureBuilderFrameReader Members

Microsoft.Kinect Namespace