WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
DirectOutput.FX.MatrixFX.RGBAMatrixFlickerEffect Class Reference

Does create random flickering with a defineable density, durations and color within the spefied area of a ledstrip. More...

Inheritance diagram for DirectOutput.FX.MatrixFX.RGBAMatrixFlickerEffect:
DirectOutput.FX.MatrixFX.MatrixFlickerEffectBase< RGBAColor >

Protected Member Functions

override RGBAColor GetEffectValue (int TriggerValue)
 Gets the effect color by mixinging Active and InactiveColor based on the TriggerValue. More...
 

Properties

RGBAColor ActiveColor [get, set]
 Gets or sets the active color. The FadeMode property defines how this value is used. More...
 
RGBAColor InactiveColor [get, set]
 Gets or sets the inactive color. The FadeMode property defines how this value is used. More...
 
- Properties inherited from DirectOutput.FX.MatrixFX.MatrixFlickerEffectBase< RGBAColor >
int Density [get, set]
 Gets or sets the density of the flickering in percent. For 0 no elements of the defined area will will flicker, for 50 half of the elements will flicker, for 100 all elements will flicker. More...
 
int MinFlickerDurationMs [get, set]
 Gets or sets the min duration in milliseconds for a single flicker/blink of a element. More...
 
int MaxFlickerDurationMs [get, set]
 Gets or sets the max duration in milliseconds for a single flicker/blink of a element. More...
 
int FlickerFadeUpDurationMs [get, set]
 Gets or sets the fade up duration in milliseconds for a single flicker/blink of a element. More...
 
int FlickerFadeDownDurationMs [get, set]
 Gets or sets the fade down duration in milliseconds for a single flicker/blink of a element. More...
 

Additional Inherited Members

- Public Member Functions inherited from DirectOutput.FX.MatrixFX.MatrixFlickerEffectBase< RGBAColor >
override void Trigger (Table.TableElementData TableElementData)
 Triggers the effect with the given TableElementData. More...
 
override void Init (DirectOutput.Table.Table Table)
 Initializes the effect. More...
 
override void Finish ()
 Finishes the effect and releases object references More...
 

Detailed Description

Does create random flickering with a defineable density, durations and color within the spefied area of a ledstrip.

Definition at line 13 of file RGBAMatrixFlickerEffect.cs.

Member Function Documentation

override RGBAColor DirectOutput.FX.MatrixFX.RGBAMatrixFlickerEffect.GetEffectValue ( int  TriggerValue)
protectedvirtual

Gets the effect color by mixinging Active and InactiveColor based on the TriggerValue.

Parameters
TriggerValueThe trigger value.
Returns
RGBAColor representing a mix of InactiveColor and ActiveColor.

Implements DirectOutput.FX.MatrixFX.MatrixFlickerEffectBase< RGBAColor >.

Definition at line 53 of file RGBAMatrixFlickerEffect.cs.

Property Documentation

RGBAColor DirectOutput.FX.MatrixFX.RGBAMatrixFlickerEffect.ActiveColor
getset

Gets or sets the active color. The FadeMode property defines how this value is used.

The active color.

Definition at line 27 of file RGBAMatrixFlickerEffect.cs.

RGBAColor DirectOutput.FX.MatrixFX.RGBAMatrixFlickerEffect.InactiveColor
getset

Gets or sets the inactive color. The FadeMode property defines how this value is used.

The inactive color.

Definition at line 42 of file RGBAMatrixFlickerEffect.cs.


The documentation for this class was generated from the following file: