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

Displays a shape on a RGBA matrix (typically a ledstrip array). The color of the displayed shape is controlled by the effect. More...

Inheritance diagram for DirectOutput.FX.MatrixFX.RGBAMatrixColorScaleShapeEffect:
DirectOutput.FX.MatrixFX.MatrixEffectBase< RGBAColor >

Public Member Functions

override void Init (Table.Table Table)
 
override void Finish ()
 
override void Trigger (Table.TableElementData TableElementData)
 
- Public Member Functions inherited from DirectOutput.FX.MatrixFX.MatrixEffectBase< RGBAColor >
override void Init (Table.Table Table)
 Initializes the effect. Resolves object references. More...
 
override void Finish ()
 Finishes the effect and releases object references 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...
 
string ShapeName [get, set]
 Gets or sets the name of the shape. More...
 
- Properties inherited from DirectOutput.FX.MatrixFX.MatrixEffectBase< RGBAColor >
string ToyName [get, set]
 Gets or sets the name of the toy which is to be controlled by the effect. More...
 
IMatrixToy< MatrixElementType > Matrix [get]
 Gets the matrix toy which is referenced by the ToyName property. This property is initialized by the Init method. More...
 
float Width [get, set]
 Gets or sets the width in percent of target area of the ledstrip which is controlled by the effect. More...
 
float Height [get, set]
 Gets or sets the height in percent of target area of the matrix which is controlled by the effect. More...
 
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. More...
 
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. More...
 
int LayerNr [get, set]
 Gets or sets the number of the layer which is targeted by the effect. More...
 
FadeModeEnum FadeMode [get, set]
 Gets or sets the fade mode. More...
 
int AreaWidth [get]
 Gets the number of leds on horizontal direction of the area for the effect. More...
 
int AreaHeight [get]
 Gets the number of leds on vertical direction of the area for the effect. More...
 
Table.Table Table [get]
 Gets the table object which was specified during initialisation of the effect. More...
 

Additional Inherited Members

- Protected Attributes inherited from DirectOutput.FX.MatrixFX.MatrixEffectBase< RGBAColor >
int AreaLeft
 The gets the X position of the led in the upper left corner of the effect area. More...
 
int AreaTop
 The gets the Y position of the led in the upper left corner of the effect area. More...
 
int AreaRight
 The gets the X position of the led in the lower right corner of the effect area. More...
 
int AreaBottom
 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...
 

Detailed Description

Displays a shape on a RGBA matrix (typically a ledstrip array). The color of the displayed shape is controlled by the effect.

Definition at line 13 of file RGBAMatrixColorScaleShapeEffect.cs.

Member Function Documentation

override void DirectOutput.FX.MatrixFX.RGBAMatrixColorScaleShapeEffect.Finish ( )

Definition at line 135 of file RGBAMatrixColorScaleShapeEffect.cs.

override void DirectOutput.FX.MatrixFX.RGBAMatrixColorScaleShapeEffect.Init ( Table.Table  Table)

Definition at line 72 of file RGBAMatrixColorScaleShapeEffect.cs.

override void DirectOutput.FX.MatrixFX.RGBAMatrixColorScaleShapeEffect.Trigger ( Table.TableElementData  TableElementData)

Definition at line 146 of file RGBAMatrixColorScaleShapeEffect.cs.

Property Documentation

RGBAColor DirectOutput.FX.MatrixFX.RGBAMatrixColorScaleShapeEffect.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 RGBAMatrixColorScaleShapeEffect.cs.

RGBAColor DirectOutput.FX.MatrixFX.RGBAMatrixColorScaleShapeEffect.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 RGBAMatrixColorScaleShapeEffect.cs.

string DirectOutput.FX.MatrixFX.RGBAMatrixColorScaleShapeEffect.ShapeName
getset

Gets or sets the name of the shape.

The name of the shape.

Definition at line 58 of file RGBAMatrixColorScaleShapeEffect.cs.


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