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

Sets the spefied area of matrix to the specified colors depending on the trigger value. More...

Inheritance diagram for DirectOutput.FX.MatrixFX.RGBAMatrixColorEffect:
DirectOutput.FX.MatrixFX.MatrixValueEffectBase< 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...
 

Additional Inherited Members

- Public Member Functions inherited from DirectOutput.FX.MatrixFX.MatrixValueEffectBase< RGBAColor >
override void Trigger (Table.TableElementData TableElementData)
 Triggers the effect with the given TableElementData. More...
 

Detailed Description

Sets the spefied area of matrix to the specified colors depending on the trigger value.

Definition at line 13 of file RGBAMatrixColorEffect.cs.

Member Function Documentation

override RGBAColor DirectOutput.FX.MatrixFX.RGBAMatrixColorEffect.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.MatrixValueEffectBase< RGBAColor >.

Definition at line 52 of file RGBAMatrixColorEffect.cs.

Property Documentation

RGBAColor DirectOutput.FX.MatrixFX.RGBAMatrixColorEffect.ActiveColor
getset

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

The active color.

Definition at line 26 of file RGBAMatrixColorEffect.cs.

RGBAColor DirectOutput.FX.MatrixFX.RGBAMatrixColorEffect.InactiveColor
getset

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

The inactive color.

Definition at line 41 of file RGBAMatrixColorEffect.cs.


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