2 using System.Collections.Generic;
16 private const int RefreshIntervalMs = 30;
29 get {
return _ActiveValue; }
30 set { _ActiveValue = value; }
44 get {
return _InactiveValue; }
45 set { _InactiveValue = value; }
59 int V = TriggerValue.Limit(0, 255);
60 D.
Value = InactiveValue.Value + (int)((
float)(ActiveValue.Value - InactiveValue.Value) * V / 255).Limit(0, 255);
61 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).
Same kind of effect like the RGBAMatrixShift effect, but for AnalogAlpha elements (just about everyth...
Object containing a analog value (0-255) and a alpha value (0-255).
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
The namespace DirectOutput.General contains classes for general use.
override AnalogAlpha GetEffectValue(int TriggerValue)
Gets the effect Value by mixinging Active and InactiveValue based on the TriggerValue.
Base class for effects shift values through a matrix of elements.