Share via


AllFramesReadyEventArgs.OpenSkeletonFrame Method

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Gets the most recent frame of skeleton data.

Syntax

public SkeletonFrame OpenSkeletonFrame ()
'Declaration
Public Function OpenSkeletonFrame As SkeletonFrame 

Return Value

Type: SkeletonFrame
A frame of skeleton data in a new SkeletonFrame object, or NULL if the data is no longer available.

Remarks

When you are done using the SkeletonFrame object call Dispose.

Requirements

Namespace: Microsoft.Kinect

Assembly: Microsoft.Kinect (in microsoft.kinect.dll)

See Also

Reference

AllFramesReadyEventArgs Class
AllFramesReadyEventArgs Members
Microsoft.Kinect Namespace