Пример #1
0
        /**
         * Transforms colors with the HUD color matrix, if the option is set
         */
        protected Color TransformColor(Color color)
        {
            if (useHudColorMatrix)
            {
                return(EDStateManager.ApplyHudColorMatrix(color));
            }

            return(color);
        }
Пример #2
0
 /**
  * Transforms colors with the HUD color matrix, if the option is set
  */
 protected Color TransformColor(Color color)
 {
     return(EDStateManager.ConditionallyApplyHudColorMatrix(useHudColorMatrix, color));
 }