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

Displays a defined part of a bitmap on a area of a AnalogAlpha Matrix. More...

Inheritance diagram for DirectOutput.FX.MatrixFX.AnalogAlphaMatrixBitmapEffect:
DirectOutput.FX.MatrixFX.MatrixBitmapEffectBase< AnalogAlpha >

Public Member Functions

override AnalogAlpha GetEffectValue (int TriggerValue, PixelData Pixel)
 Gets the value for a single element in the matrix. More...
 
- Public Member Functions inherited from DirectOutput.FX.MatrixFX.MatrixBitmapEffectBase< AnalogAlpha >
abstract MatrixElementType GetEffectValue (int TriggerValue, PixelData Pixel)
 Gets the value which is to be applied to all elements of the matrix area controlled by the effect. This methed must be overwritten. More...
 
override void Trigger (Table.TableElementData TableElementData)
 Triggers the effect with the given data. More...
 
override void Init (Table.Table Table)
 Initializes the effect. Resolves object references, extracts source image data. More...
 
override void Finish ()
 Finishes the effect and releases object references More...
 

Additional Inherited Members

- Protected Attributes inherited from DirectOutput.FX.MatrixFX.MatrixBitmapEffectBase< AnalogAlpha >
PixelData[,] Pixels
 
- Properties inherited from DirectOutput.FX.MatrixFX.MatrixBitmapEffectBase< AnalogAlpha >
int BitmapFrameNumber [get, set]
 Gets or sets the number of the frame to be used. This is usefull if you work with animated gifs. More...
 
int BitmapTop [get, set]
 Gets or sets the top of the the part of the bitmap which is to be used. More...
 
int BitmapLeft [get, set]
 Gets or sets the left boundary of the the part of the bitmap which is to be used. More...
 
int BitmapWidth [get, set]
 Gets or sets the width of the the part of the bitmap which is to be used. More...
 
int BitmapHeight [get, set]
 Gets or sets the height of the the part of the bitmap which is to be used. More...
 
FastBitmapDataExtractModeEnum DataExtractMode [get, set]
 Gets or sets the mode how data is extracted from the source bitmap. More...
 
FilePattern BitmapFilePattern [get, set]
 Gets or sets the file pattern which is used to load the bitmap file for the effect. More...
 

Detailed Description

Displays a defined part of a bitmap on a area of a AnalogAlpha Matrix.

Definition at line 10 of file AnalogAlphaMatrixBitmapEffect.cs.

Member Function Documentation

override AnalogAlpha DirectOutput.FX.MatrixFX.AnalogAlphaMatrixBitmapEffect.GetEffectValue ( int  TriggerValue,
PixelData  Pixel 
)

Gets the value for a single element in the matrix.

Parameters
TriggerValueThe trigger value.
PixelA pixel representing a element in the matrix.
Returns
The AnalogAlpha for a element in the matrix

Definition at line 19 of file AnalogAlphaMatrixBitmapEffect.cs.


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