Represents a brush drawing only a single color.
Наследование: CUE.NET.Brushes.AbstractBrush
Пример #1
0
        private void SetAmbilightBrush()
        {
            IBrush ambilightBrush;
            switch (_settings.AmbienceCreatorType)
            {
                case AmbienceCreatorType.Mirror:
                    ambilightBrush = new AmbilightMirrorBrush(_screenCapture, _settings);
                    break;
                case AmbienceCreatorType.Extend:
                    ambilightBrush = new AmbilightExtendBrush(_screenCapture, _settings);
                    break;
                default:
                    ambilightBrush = new SolidColorBrush(Color.Black);
                    break;
            }

            CueSDK.KeyboardSDK.Brush = ambilightBrush;
        }
Пример #2
0
 public SongBeatEffect(SoundDataProcessor dataProcessor, Color color)
 {
     this._dataProcessor = dataProcessor;
     _brush = new SolidColorBrush(color);
 }