public void Update(Windows.Kinect.Vector4 floor, Body body, FaceFrameResult face) { this.Floor = floor.ToUnityVector4(); this.Body = body; this.Face = face; this.IsTracked = body.IsTracked; this.TrackingId = body.TrackingId; }
public void Refresh(Windows.Kinect.Vector4 floor, Body[] bodies, FaceFrameResult[] faces) { this.Floor = floor.ToUnityVector4(); this.Face = faces[id]; this.Body = bodies[id]; }