Share via


SkeletonFrameReadyEventArgs.OpenSkeletonFrame Method

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Opens a SkeletonFrame object, which contains one frame of skeleton data.

Syntax

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

Return Value

Type: SkeletonFrame
The new SkeletonFrame object that corresponds to this event, or NULL if the data is not available.

Remarks

If the function is successful and returns a SkeletonFrame object, call Dispose when you are done with it.

Requirements

Namespace: Microsoft.Kinect

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

See Also

Reference

SkeletonFrameReadyEventArgs Class
SkeletonFrameReadyEventArgs Members
Microsoft.Kinect Namespace