2 using System.Collections.Generic;
15 private const int RefreshIntervalMs = 30;
28 get {
return _ActiveValue; }
29 set { _ActiveValue = value; }
43 get {
return _InactiveValue; }
44 set { _InactiveValue = value; }
57 int V = TriggerValue.Limit(0, 255);
58 D.
Value = InactiveValue.Value + (int)((
float)(ActiveValue.Value - InactiveValue.Value) * V / 255).Limit(0, 255);
59 D.
Alpha = InactiveValue.Alpha + (int)((
float)(ActiveValue.Alpha - InactiveValue.Alpha) * V / 255).Limit(0, 255);
The namespace DirectOutput.Cab.Toys contains all toy related classes.
int Value
The analog value (0-255).
Does create random flickering with a defineable density, durations and value within the spefied area ...
Object containing a analog value (0-255) and a alpha value (0-255).
override AnalogAlpha GetEffectValue(int TriggerValue)
Gets the effect value by mixinging Active and InactiveValue based on the TriggerValue.
int Alpha
The alpha value (0-255).
The namespace DirectOutput.Cab contains all cabinet related classes like the Cabinet class itself...
Namespace for objects dealing with layers
Does create random flickering with a defineable density, durations and value within the spefied area ...
The namespace DirectOutput.General contains classes for general use.