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

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

Inheritance diagram for DirectOutput.FX.MatrixFX.AnalogAlphaMatrixFlickerEffect:
DirectOutput.FX.MatrixFX.MatrixFlickerEffectBase< AnalogAlpha >

Protected Member Functions

override AnalogAlpha GetEffectValue (int TriggerValue)
 Gets the effect value by mixinging Active and InactiveValue based on the TriggerValue. More...
 

Properties

AnalogAlpha ActiveValue [get, set]
 Gets or sets the active value. The FadeMode property defines how this value is used. More...
 
AnalogAlpha InactiveValue [get, set]
 Gets or sets the inactive value. The FadeMode property defines how this value is used. More...
 
- Properties inherited from DirectOutput.FX.MatrixFX.MatrixFlickerEffectBase< AnalogAlpha >
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< AnalogAlpha >
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 value within the spefied area of a matrix.

Definition at line 13 of file AnalogAlphaMatrixFlickerEffect.cs.

Member Function Documentation

override AnalogAlpha DirectOutput.FX.MatrixFX.AnalogAlphaMatrixFlickerEffect.GetEffectValue ( int  TriggerValue)
protectedvirtual

Gets the effect value by mixinging Active and InactiveValue based on the TriggerValue.

Parameters
TriggerValueThe trigger value.
Returns
AnalogAlpha value representing a mix of InactiveValue and ActiveValue.

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

Definition at line 53 of file AnalogAlphaMatrixFlickerEffect.cs.

Property Documentation

AnalogAlpha DirectOutput.FX.MatrixFX.AnalogAlphaMatrixFlickerEffect.ActiveValue
getset

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

The active value.

Definition at line 27 of file AnalogAlphaMatrixFlickerEffect.cs.

AnalogAlpha DirectOutput.FX.MatrixFX.AnalogAlphaMatrixFlickerEffect.InactiveValue
getset

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

The inactive value.

Definition at line 42 of file AnalogAlphaMatrixFlickerEffect.cs.


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