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; }
public SongBeatEffect(SoundDataProcessor dataProcessor, Color color) { this._dataProcessor = dataProcessor; _brush = new SolidColorBrush(color); }