Kinect.FacetrackingManager.GetFaceColorRect C# (CSharp) Method

GetFaceColorRect() public method

Gets the tracked face rectangle of the specified user in color image coordinates, or zero-rect if the user's face is not tracked.
public GetFaceColorRect ( long userId ) : Rect
userId long User ID
return UnityEngine.Rect
        public Rect GetFaceColorRect(long userId)
        {
            Rect faceRect = new Rect();
            sensorData.sensorInterface.GetFaceRect(userId, ref faceRect);

            return faceRect;
        }