예제 #1
0
파일: Headset.cs 프로젝트: d8ahazard/Colore
 /// <summary>
 /// Sets an effect on the headset that doesn't
 /// take any parameters, currently only valid
 /// for the <see cref="Effect.SpectrumCycling" /> effect.
 /// </summary>
 /// <param name="effect">The type of effect to set.</param>
 public void SetEffect(Effect effect)
 {
     SetGuid(NativeWrapper.CreateHeadsetEffect(effect, IntPtr.Zero));
 }
예제 #2
0
파일: Headset.cs 프로젝트: d8ahazard/Colore
 /// <summary>
 /// Sets a new static effect on the headset.
 /// </summary>
 /// <param name="effect">
 /// An instance of the <see cref="Static" /> struct
 /// describing the effect.
 /// </param>
 public void SetStatic(Static effect)
 {
     SetGuid(NativeWrapper.CreateHeadsetEffect(Effect.Static, effect));
 }
예제 #3
0
파일: Headset.cs 프로젝트: d8ahazard/Colore
 /// <summary>
 /// Sets a new breathing effect on the headset.
 /// </summary>
 /// <param name="effect">
 /// An instance of the <see cref="Breathing" /> struct
 /// describing the effect.
 /// </param>
 public void SetBreathing(Breathing effect)
 {
     SetGuid(NativeWrapper.CreateHeadsetEffect(Effect.Breathing, effect));
 }