Kinect.KinectManager.SetDisplayedBodyIndex C# (CSharp) Method

SetDisplayedBodyIndex() public method

Sets the body index [0-5], if a single body must be displayed on the user map, or -1 if all bodies must be displayed.
public SetDisplayedBodyIndex ( int iBodyIndex ) : bool
iBodyIndex int The single body index, or -1 if all bodies must be displayed.
return bool
        public bool SetDisplayedBodyIndex(int iBodyIndex)
        {
            if (sensorData != null)
            {
                sensorData.selectedBodyIndex = (byte)(iBodyIndex >= 0 ? iBodyIndex : 255);
            }

            return false;
        }
KinectManager