DirectOutput
DirectOutput framework R2 for virtual pinball cabinets.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
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:
Collaboration diagram for DirectOutput.FX.MatrixFX.RGBAMatrixColorEffect:

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< MatrixElementType >
override void Trigger (Table.TableElementData TableElementData)
 Triggers the effect with the given TableElementData. More...
 
- 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. More...
 
int AreaTop = 0
 The gets the Y position of the led in the upper left corner of the effect area. More...
 
int AreaRight = 0
 The gets the X position of the led in the lower right corner of the effect area. More...
 
int AreaBottom = 0
 The gets the Y position of the led in the lower right corner of the effect area. More...
 
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. More...
 
- Events inherited from DirectOutput.General.Generic.NamedItemBase
EventHandler< NameChangeEventArgsAfterNameChanged
 Event is fired after the value of the property Name has changed. More...
 
EventHandler< NameChangeEventArgsBeforeNameChange
 Event is fired before the value of the property Name is changed. More...
 
- Events inherited from DirectOutput.FX.IEffect
new EventHandler
< NameChangeEventArgs
AfterNameChanged
 This event must be fired after the Name property of a IEffect object has changed. More...
 
new EventHandler
< NameChangeEventArgs
BeforeNameChange
 This event must be fired before the Name property of a IEffect object is changed. More...
 

Detailed Description

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

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< MatrixElementType >.

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.

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.


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