SparrowSharp.Filters.ColorMatrix.ColorMatrix C# (CSharp) 메소드

ColorMatrix() 공개 메소드

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
리턴 System
        public ColorMatrix(float[] values = null)
        {
            if (values != null)
            {
                Array.Copy(values, _m, 20);
            }
            else
            {
                Array.Copy(matrix4x5Identity, _m, 20);
            }
        }