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

Displays parts of a bitmap as a animation on a matrix of AnalogAlpha elements. Check the docu on the other bitmap effects for more details on these effect types. More...

Inheritance diagram for DirectOutput.FX.MatrixFX.AnalogAlphaMatrixBitmapAnimationEffect:
DirectOutput.FX.MatrixFX.MatrixBitmapAnimationEffectBase< AnalogAlpha >

Protected Member Functions

override AnalogAlpha GetEffectValue (int TriggerValue, PixelData Pixel)
 Gets the value for a single element in the matrix. More...
 
- Protected Member Functions inherited from DirectOutput.FX.MatrixFX.MatrixBitmapAnimationEffectBase< 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...
 

Additional Inherited Members

- Public Member Functions inherited from DirectOutput.FX.MatrixFX.MatrixBitmapAnimationEffectBase< AnalogAlpha >
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...
 
- Protected Attributes inherited from DirectOutput.FX.MatrixFX.MatrixBitmapAnimationEffectBase< AnalogAlpha >
PixelData[][,] Pixels
 
- Properties inherited from DirectOutput.FX.MatrixFX.MatrixBitmapAnimationEffectBase< AnalogAlpha >
MatrixAnimationStepDirectionEnum AnimationStepDirection [get, set]
 Gets or sets the animation direction. More...
 
int AnimationStepSize [get, set]
 Gets or sets the size of the step in pixels or frames (depending on the AnimationStepDirection) to the next frame of the animation. More...
 
int AnimationFrameCount [get, set]
 Gets or sets the number of frames for the whole animation. More...
 
AnimationBehaviourEnum AnimationBehaviour [get, set]
 Gets or sets the animation behaviour. More...
 
int AnimationFrameDurationMs [get, set]
 Gets or sets the animation frame duration in ms. More...
 
int BitmapFrameNumber [get, set]
 Gets or sets the number of the frame to be displayed. More...
 
int BitmapTop [get, set]
 Gets or sets the top of the the part of the bitmap which is to be displayed. More...
 
int BitmapLeft [get, set]
 Gets or sets the left boundary of the the part of the bitmap which is to be displayed. More...
 
int BitmapWidth [get, set]
 Gets or sets the width of the the part of the bitmap which is to be displayed. More...
 
int BitmapHeight [get, set]
 Gets or sets the height of the the part of the bitmap which is to be displayed. 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 parts of a bitmap as a animation on a matrix of AnalogAlpha elements. Check the docu on the other bitmap effects for more details on these effect types.

Definition at line 16 of file AnalogAlphaMatrixBitmapAnimationEffect.cs.

Member Function Documentation

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

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 value for a element in the matrix

Definition at line 24 of file AnalogAlphaMatrixBitmapAnimationEffect.cs.


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