FairyGUI.ColorFilter.Reset C# (CSharp) Method

Reset() public method

Changes the filter matrix back to the identity matrix
public Reset ( ) : void
return void
        public void Reset()
        {
            Array.Copy(IDENTITY, _matrix, _matrix.Length);

            UpdateMatrix();
        }

Usage Example

示例#1
0
 static public int Reset(IntPtr l)
 {
     try {
         FairyGUI.ColorFilter self = (FairyGUI.ColorFilter)checkSelf(l);
         self.Reset();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of FairyGUI.ColorFilter::Reset