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

Same kind of effect like the RGBAMatrixShift effect, but for AnalogAlpha elements (just about everything which is not a RGBA element). More...

Inheritance diagram for DirectOutput.FX.MatrixFX.AnalogAlphaMatrixShiftEffect:
DirectOutput.FX.MatrixFX.MatrixShiftEffectBase< 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.MatrixShiftEffectBase< AnalogAlpha >
MatrixShiftDirectionEnum ShiftDirection [get, set]
 Gets or sets the shift direction resp. the direction in which the color moves. More...
 
float ShiftSpeed [get, set]
 Gets or sets the shift speed in percentage of the effect area per second. A speed setting of 100 will shift through the whole area of the effect in 1 second. 200 will shift through the effect area in .5 seconds. 33 will shift through the effect area in approx. 3 seconds. Max. speed is 10000 (shift through the effect area in 1/100 seconds). Min. speed is 1 (shifts through the effect area in 100 seconds). More...
 
float ShiftAcceleration [get, set]
 Gets or sets the acceleration for the shift speed in percent of the effect area per second. Acceleration can be zero, positive or negative. Positive values will increase the shift speed. Speed will be increased up to a max value of 10000. Negative values will decrease the shift speed. Speed will be decreased down to a minimum speed of 1. More...
 

Additional Inherited Members

- Public Member Functions inherited from DirectOutput.FX.MatrixFX.MatrixShiftEffectBase< AnalogAlpha >
override void Trigger (Table.TableElementData TableElementData)
 
override void Init (Table.Table Table)
 
override void Finish ()
 Finishes the effect and releases object references More...
 

Detailed Description

Same kind of effect like the RGBAMatrixShift effect, but for AnalogAlpha elements (just about everything which is not a RGBA element).

Definition at line 14 of file AnalogAlphaMatrixShiftEffect.cs.

Member Function Documentation

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

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

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

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

Definition at line 55 of file AnalogAlphaMatrixShiftEffect.cs.

Property Documentation

AnalogAlpha DirectOutput.FX.MatrixFX.AnalogAlphaMatrixShiftEffect.ActiveValue
getset

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

The active Value.

Definition at line 28 of file AnalogAlphaMatrixShiftEffect.cs.

AnalogAlpha DirectOutput.FX.MatrixFX.AnalogAlphaMatrixShiftEffect.InactiveValue
getset

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

The inactive Value.

Definition at line 43 of file AnalogAlphaMatrixShiftEffect.cs.


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