BodyFrameSource.BodyCount Property

Gets the number of bodies.

Syntax

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

Property value

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

Type: int32
Type: int
Type: Number

 

The number of bodies.

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

BodyFrameSource Class
WindowsPreview.Kinect Namespace