Ejemplo n.º 1
0
 /// <summary>
 /// Clears the current effect on Generic Devices.
 /// </summary>
 public override void Clear()
 {
     SetGuid(NativeWrapper.CreateDeviceEffect(DeviceId, Effect.None, default(None)));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Sets a static effect on this device.
 /// </summary>
 /// <param name="effect">Effect options.</param>
 public void SetStatic(Static effect)
 {
     SetGuid(NativeWrapper.CreateDeviceEffect(DeviceId, Effect.Static, effect));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Sets a wave effect on this device.
 /// </summary>
 /// <param name="effect">Effect options.</param>
 public void SetWave(Wave effect)
 {
     SetGuid(NativeWrapper.CreateDeviceEffect(DeviceId, Effect.Wave, effect));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Sets a spectrum cycling effect on this device.
 /// </summary>
 /// <param name="effect">Effect options.</param>
 public void SetSpectrumCycling(SpectrumCycling effect)
 {
     SetGuid(NativeWrapper.CreateDeviceEffect(DeviceId, Effect.SpectrumCycling, effect));
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Sets a reactive effect on this device.
 /// </summary>
 /// <param name="effect">Effect options.</param>
 public void SetReactive(Reactive effect)
 {
     SetGuid(NativeWrapper.CreateDeviceEffect(DeviceId, Effect.Reactive, effect));
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Sets a custom effect on this device.
 /// </summary>
 /// <param name="effect">Effect options.</param>
 public void SetCustom(Custom effect)
 {
     SetGuid(NativeWrapper.CreateDeviceEffect(DeviceId, Effect.Custom, effect));
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Sets a breathing effect on this device.
 /// </summary>
 /// <param name="effect">Effect options.</param>
 public void SetBreathing(Breathing effect)
 {
     SetGuid(NativeWrapper.CreateDeviceEffect(DeviceId, Effect.Breathing, effect));
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Sets a starlight effect on this device.
 /// </summary>
 /// <param name="effect">Effect options.</param>
 public void SetStarlight(Starlight effect)
 {
     SetGuid(NativeWrapper.CreateDeviceEffect(DeviceId, Effect.Starlight, effect));
 }