WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
RGBAMatrixBitmapAnimationEffect.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
9 
10 namespace DirectOutput.FX.MatrixFX
11 {
39  {
46  protected override RGBAColor GetEffectValue(int TriggerValue, PixelData Pixel)
47  {
48  RGBAColor D = Pixel.GetRGBAColor();
49 
50  D.Alpha = (int)((float)Pixel.Alpha * TriggerValue / 255);
51 
52  return D;
53 
54  }
55 
56  }
57 }
This class stores information on colors used for toys and effects (e.g. RGBLed).
Definition: RGBAColor.cs:14
The namespace DirectOutput.Cab.Toys contains all toy related classes.
Struct holding the data for a single pixel in a bitmap.
Definition: PixelData.cs:12
The namespace DirectOutput.Cab contains all cabinet related classes like the Cabinet class itself...
Definition: Cab.cs:16
int Alpha
Alpha value for the color.
Definition: RGBAColor.cs:64
override RGBAColor GetEffectValue(int TriggerValue, PixelData Pixel)
Gets the value for a single element in the matrix.
The RGBAMatrixBitmapAnimationEffect displays a anmation which is based on a image file on the definea...
Namespace for objects dealing with layers
The namespace DirectOutput.General contains classes for general use.