HandInput.Util.PlayerDetector.IsPlayerPixel C# (CSharp) Method

IsPlayerPixel() private method

private IsPlayerPixel ( Seq contour, Byte skinMask, int x, int y, int depth ) : bool
contour Seq
skinMask Byte
x int
y int
depth int
return bool
        bool IsPlayerPixel(Seq<Point> contour, Byte[, ,] skinMask, int x, int y, int depth)
        {
            return contour.InContour(new Point(x, y)) >= 0 &&
             (skinMask == null || skinMask[y, x, 0] > 0) &&
             depth > HandInputParams.MinDepth;
        }