Share via


BodyFrame Class

Represents a frame that contains all the computed real-time tracking information about people that are in view of the sensor.

Syntax

public ref class BodyFrame sealed : IClosable
public sealed class BodyFrame : IDisposable
var bodyFrame = WindowsPreview.Kinect.BodyFrame;

Members

BodyFrame has the following members.

Properties

Name Description
BodyCount Gets the body count, which is the number of bodies the system can track and thus the size of the collection that must be used to store these bodies.
BodyFrameSource Gets the source of the body frame.
FloorClipPlane Gets the floor clip plane of the body frame in hessian normal form. The (x,y,z) components are a unit vector indicating the normal of the plane, and w is the distance from the plane to the origin in meters.
RelativeTime Gets the timestamp of the body frame.

Methods

Name Description
Close Releases system resources associated with the body frame.
GetAndRefreshBodyData Gets refreshed body data.

Remarks

The computed data provided by this frame type includes skeletal joints and orientations, hand states, and more for up to 6 people at a time. These tracking features provide a great baseline for getting started with human interaction in your app.

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

WindowsPreview.Kinect Namespace