void OnBodyFrameReady(object sender, KinectItemListEventArgs<KinectBody> e) { if (BroadcastEnabled && e != null && e.Items != null && (e.Items.Count > 0 || _lastBodyCount != 0)) { ProcessAndTransmit(e.SensorId, e.Items); _lastBodyCount = e.Items.Count; } }
void OnBodyFrameReady(object sender, KinectItemListEventArgs <KinectBody> e) { if (BroadcastEnabled && e != null && e.Items != null && (e.Items.Count > 0 || _lastBodyCount != 0)) { ProcessAndTransmit(e.SensorId, e.Items); _lastBodyCount = e.Items.Count; } }