SparrowSharp.Filters.ColorMatrix.ColorMatrix C# (CSharp) Method

ColorMatrix() public method

Initializes a color matrix with an array of 20 floats. If no value is specified it initializes with an identity matrix.
public ColorMatrix ( float values = null ) : System
values float
return System
        public ColorMatrix(float[] values = null)
        {
            if (values != null)
            {
                Array.Copy(values, _m, 20);
            }
            else
            {
                Array.Copy(matrix4x5Identity, _m, 20);
            }
        }