DirectOutput
DirectOutput framework R3 for virtual pinball cabinets.
Loading...
Searching...
No Matches
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:
Collaboration diagram for DirectOutput.FX.MatrixFX.AnalogAlphaMatrixFlickerEffect:

Protected Member Functions

override AnalogAlpha GetEffectValue (int TriggerValue)
 Gets the effect value by mixinging Active and InactiveValue based on the TriggerValue.
Protected Member Functions inherited from DirectOutput.FX.MatrixFX.MatrixFlickerEffectBase< MatrixElementType >
MatrixElementType GetEffectValue (int TriggerValue)
 Gets the value which is to be applied to all elements of the matrix area controlled by the effect. This methed must be overwritten.
Protected Member Functions inherited from DirectOutput.General.Generic.NamedItemBase
virtual void AfterNameChange (string OldName, string NewName)
virtual void BeforeNameChange (string OldName, string NewName)
virtual void OnPropertyChanged (string propertyName)
virtual void OnPropertyChanging (string propertyName)

Properties

AnalogAlpha ActiveValue [get, set]
 Gets or sets the active value. The FadeMode property defines how this value is used.
AnalogAlpha InactiveValue [get, set]
 Gets or sets the inactive value. The FadeMode property defines how this value is used.
Properties inherited from DirectOutput.FX.MatrixFX.MatrixFlickerEffectBase< MatrixElementType >
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.
int MinFlickerDurationMs [get, set]
 Gets or sets the min duration in milliseconds for a single flicker/blink of a element.
int MaxFlickerDurationMs [get, set]
 Gets or sets the max duration in milliseconds for a single flicker/blink of a element.
int FlickerFadeUpDurationMs [get, set]
 Gets or sets the fade up duration in milliseconds for a single flicker/blink of a element.
int FlickerFadeDownDurationMs [get, set]
 Gets or sets the fade down duration in milliseconds for a single flicker/blink of a element.
int X [get, set]
int Y [get, set]
int DurationMs [get, set]
DateTime StartTimestamp [get, set]
Properties inherited from DirectOutput.FX.MatrixFX.MatrixEffectBase< MatrixElementType >
string ToyName [get, set]
 Gets or sets the name of the toy which is to be controlled by the effect.
IMatrixToy< MatrixElementType > Matrix [get]
 Gets the matrix toy which is referenced by the ToyName property. This property is initialized by the Init method.
float Width [get, set]
 Gets or sets the width in percent of target area of the ledstrip which is controlled by the effect.
float Height [get, set]
 Gets or sets the height in percent of target area of the matrix which is controlled by the effect.
float Left [get, set]
 Gets or sets the left resp. X positon of the upper left corner in percent of the target area of the matrix which is controlled by the effect.
float Top [get, set]
 Gets or sets the top resp. Y positon of the upper left corner in percent of the target area of the ledstrip which is controlled by the effect.
int LayerNr [get, set]
 Gets or sets the number of the layer which is targeted by the effect.
FadeModeEnum FadeMode [get, set]
 Gets or sets the fade mode.
int AreaWidth [get]
 Gets the number of leds on horizontal direction of the area for the effect.
int AreaHeight [get]
 Gets the number of leds on vertical direction of the area for the effect.
Table.Table Table [get]
 Gets the table object which was specified during initialisation of the effect.
Properties inherited from DirectOutput.General.Generic.NamedItemBase
string Name [get, set]
 Name of the named item.
Triggers BeforeNameChange before a new Name is set.
Triggers AfterNameChanged after a new name has been set.
Properties inherited from DirectOutput.FX.IEffect
new string Name [get, set]
 Name of the effect.

Additional Inherited Members

Public Member Functions inherited from DirectOutput.FX.MatrixFX.MatrixFlickerEffectBase< MatrixElementType >
override void Trigger (Table.TableElementData TableElementData)
 Triggers the effect with the given TableElementData.
override void Init (DirectOutput.Table.Table Table)
 Initializes the effect.
override void Finish ()
 Finishes the effect and releases object references.
Public Member Functions inherited from DirectOutput.FX.MatrixFX.MatrixEffectBase< MatrixElementType >
override void Init (Table.Table Table)
 Initializes the effect. Resolves object references.
Public Member Functions inherited from DirectOutput.FX.EffectBase
void Trigger (TableElementData TableElementData)
 Triggers the effect with the given TableElementData.
void Init (Table.Table Table)
 Init does all necessary initialization work after the effect object has been instanciated.
Protected Attributes inherited from DirectOutput.FX.MatrixFX.MatrixEffectBase< MatrixElementType >
int AreaLeft = 0
 The gets the X position of the led in the upper left corner of the effect area.
int AreaTop = 0
 The gets the Y position of the led in the upper left corner of the effect area.
int AreaRight = 0
 The gets the X position of the led in the lower right corner of the effect area.
int AreaBottom = 0
 The gets the Y position of the led in the lower right corner of the effect area.
MatrixElementType[,] MatrixLayer
 The layer array of a IRGBAMatrix object as specified by the ToyName and the LayerNr. This reference is initialized by the Init method.
Events inherited from DirectOutput.General.Generic.NamedItemBase
EventHandler< NameChangeEventArgsAfterNameChanged
 Event is fired after the value of the property Name has changed.
EventHandler< NameChangeEventArgsBeforeNameChanged
 Event is fired before the value of the property Name is changed.
PropertyChangedEventHandler PropertyChanged
PropertyChangingEventHandler PropertyChanging
Events inherited from DirectOutput.General.Generic.INamedItem
EventHandler< NameChangeEventArgsBeforeNameChanged
 Occurs before the name of the item changes.
EventHandler< NameChangeEventArgsAfterNameChanged
 Occurs when after the name of the item has changed.
Events inherited from DirectOutput.FX.IEffect
new EventHandler< NameChangeEventArgsAfterNameChanged
 This event must be fired after the Name property of a IEffect object has changed.
new EventHandler< NameChangeEventArgsBeforeNameChanged
 This event must be fired before the Name property of a IEffect object is changed.

Detailed Description

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

Member Function Documentation

◆ GetEffectValue()

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

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.

Property Documentation

◆ ActiveValue

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.

◆ InactiveValue

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.


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