Share via


BodyFrame.BodyCount Property

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.

Syntax

public:
property int32 BodyCount {
         int32 get ();
}
public int BodyCount { get; }
var bodyCount = bodyFrame.bodyCount;

Property value

[C++] 
[C#] 
[JavaScript] 

Type: int32
Type: int
Type: Number

 

The body count.

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

BodyFrame Class
WindowsPreview.Kinect Namespace