Represents a brush drawing only a single color.
Inheritance: 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);
 }