Beispiel #1
0
 public EffectColorFunction(EffectFunction function, ColorSpectrum colorspectrum, int size = 1)
 {
     this.function      = function;
     this.colorspectrum = colorspectrum;
     this.size          = size;
     this.origin        = function.GetOrigin();
 }
Beispiel #2
0
 public static extern int UnregisterEffect(
     int channel,
     EffectFunction f
     );
Beispiel #3
0
 public static extern int RegisterEffect(
     int chan,
     EffectFunction f,
     EffectDone d,
     IntPtr arg             // void*
     );