WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
DirectOutput.FX.MatrixFX.RGBAMatrixShiftEffect Class Reference
Inheritance diagram for DirectOutput.FX.MatrixFX.RGBAMatrixShiftEffect:
DirectOutput.FX.MatrixFX.MatrixShiftEffectBase< 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.MatrixShiftEffectBase< RGBAColor >
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< RGBAColor >
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

Definition at line 10 of file RGBAMatrixShiftEffect.cs.

Member Function Documentation

override RGBAColor DirectOutput.FX.MatrixFX.RGBAMatrixShiftEffect.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.MatrixShiftEffectBase< RGBAColor >.

Definition at line 51 of file RGBAMatrixShiftEffect.cs.

Property Documentation

RGBAColor DirectOutput.FX.MatrixFX.RGBAMatrixShiftEffect.ActiveColor
getset

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

The active color.

Definition at line 24 of file RGBAMatrixShiftEffect.cs.

RGBAColor DirectOutput.FX.MatrixFX.RGBAMatrixShiftEffect.InactiveColor
getset

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

The inactive color.

Definition at line 39 of file RGBAMatrixShiftEffect.cs.


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