![]() |
DirectOutput
DirectOutput framework R3 for virtual pinball cabinets.
|
Common interface for all effects.
If a new effect is implemented it is best to inherit from the abstract class Effect which does also inherit IEffect.
All classes inheriting IEffect must be XMLSerializeable.
More...
Public Member Functions | |
void | Trigger (TableElementData TableElementData) |
Execute triggers the effect for the given TableElement. | |
void | Init (Table.Table Table) |
Init must do all necessary initialization work after the IEffect object has been instanciated. | |
void | Finish () |
Finish must do all necessary cleanupwork before a IEffect object is discarded. |
Properties | |
new string | Name [get, set] |
Name of the effect. |
Events | |
new EventHandler< NameChangeEventArgs > | AfterNameChanged |
This event must be fired after the Name property of a IEffect object has changed. | |
new EventHandler< NameChangeEventArgs > | BeforeNameChanged |
This event must be fired before the Name property of a IEffect object is changed. | |
Events inherited from DirectOutput.General.Generic.INamedItem | |
EventHandler< NameChangeEventArgs > | BeforeNameChanged |
Occurs before the name of the item changes. | |
EventHandler< NameChangeEventArgs > | AfterNameChanged |
Occurs when after the name of the item has changed. |
Common interface for all effects.
If a new effect is implemented it is best to inherit from the abstract class Effect which does also inherit IEffect.
All classes inheriting IEffect must be XMLSerializeable.
void DirectOutput.FX.IEffect.Finish | ( | ) |
Finish must do all necessary cleanupwork before a IEffect object is discarded.
Implemented in DirectOutput.FX.AnalogToyFX.AnalogToyEffectBase, DirectOutput.FX.AnalogToyFX.AnalogToyValueEffect, DirectOutput.FX.ConditionFX.TableElementConditionEffect, DirectOutput.FX.EffectBase, DirectOutput.FX.EffectEffectBase, DirectOutput.FX.ListFX.ListEffect, DirectOutput.FX.MatrixFX.MatrixBitmapAnimationEffectBase< MatrixElementType >, DirectOutput.FX.MatrixFX.MatrixBitmapEffectBase< MatrixElementType >, DirectOutput.FX.MatrixFX.MatrixEffectBase< MatrixElementType >, DirectOutput.FX.MatrixFX.MatrixFlickerEffectBase< MatrixElementType >, DirectOutput.FX.MatrixFX.MatrixShiftEffectBase< MatrixElementType >, DirectOutput.FX.MatrixFX.RGBAMatrixColorScaleShapeEffect, DirectOutput.FX.MatrixFX.RGBAMatrixShapeEffect, DirectOutput.FX.RGBAFX.RGBAColorEffect, DirectOutput.FX.RGBAFX.RGBAEffectBase, DirectOutput.FX.TimmedFX.BlinkEffect, DirectOutput.FX.TimmedFX.DelayEffect, DirectOutput.FX.TimmedFX.DurationEffect, DirectOutput.FX.TimmedFX.ExtendDurationEffect, and DirectOutput.FX.TimmedFX.MinDurationEffect.
void DirectOutput.FX.IEffect.Init | ( | Table.Table | Table | ) |
Init must do all necessary initialization work after the IEffect object has been instanciated.
Implemented in DirectOutput.FX.AnalogToyFX.AnalogToyEffectBase, DirectOutput.FX.AnalogToyFX.AnalogToyValueEffect, DirectOutput.FX.ConditionFX.TableElementConditionEffect, DirectOutput.FX.EffectBase, DirectOutput.FX.EffectEffectBase, DirectOutput.FX.ListFX.ListEffect, DirectOutput.FX.MatrixFX.MatrixBitmapAnimationEffectBase< MatrixElementType >, DirectOutput.FX.MatrixFX.MatrixBitmapEffectBase< MatrixElementType >, DirectOutput.FX.MatrixFX.MatrixEffectBase< MatrixElementType >, DirectOutput.FX.MatrixFX.MatrixShiftEffectBase< MatrixElementType >, DirectOutput.FX.MatrixFX.RGBAMatrixColorScaleBitmapAnimationEffect, DirectOutput.FX.MatrixFX.RGBAMatrixColorScaleBitmapEffect, DirectOutput.FX.MatrixFX.RGBAMatrixColorScaleShapeEffect, DirectOutput.FX.MatrixFX.RGBAMatrixShapeEffect, DirectOutput.FX.NullFX.NullEffect, DirectOutput.FX.RGBAFX.RGBAColorEffect, DirectOutput.FX.RGBAFX.RGBAEffectBase, DirectOutput.FX.TimmedFX.DelayEffect, and DirectOutput.FX.TimmedFX.ExtendDurationEffect.
void DirectOutput.FX.IEffect.Trigger | ( | TableElementData | TableElementData | ) |
Execute triggers the effect for the given TableElement.
TableElementData | TableElementData object for the TableElement which has triggered the effect. |
Implemented in DirectOutput.FX.ConditionFX.TableElementConditionEffect, DirectOutput.FX.EffectBase, DirectOutput.FX.TimmedFX.DelayEffect, and DirectOutput.FX.TimmedFX.MinDurationEffect.
|
getset |
Name of the effect.
The name of the effect.
Implements DirectOutput.General.Generic.INamedItem.
new EventHandler<NameChangeEventArgs> DirectOutput.FX.IEffect.AfterNameChanged |
This event must be fired after the Name property of a IEffect object has changed.
new EventHandler<NameChangeEventArgs> DirectOutput.FX.IEffect.BeforeNameChanged |
This event must be fired before the Name property of a IEffect object is changed.