WIP
DirectOutput framework for virtual pinball cabinets WIP
|
Go to: Overview |
The effect fires a assigned target effect after a specified delay.
The original values supplied when the effect is triggered are forwarded to the target effect.
More...
Public Member Functions | |
override void | Trigger (TableElementData TableElementData) |
Triggers the effect. If the TargetEffect throws a exception, it will be deactivated. More... | |
override void | Init (Table.Table Table) |
Initializes the DelayEffect. More... | |
new void | Finish () |
Finishes the DelayEffect. More... | |
Properties | |
int | DelayMs [get, set] |
Gets or sets the delay in milliseconds. More... | |
Properties inherited from DirectOutput.FX.EffectEffectBase | |
string | TargetEffectName [get, set] |
Name of the target effect. Triggers EffectNameChanged if value is changed. More... | |
IEffect | TargetEffect [get] |
TargetEffect for the effect (ReadOnly). The property is resolved from the TargetEffectName. If TargetEffectName is empty or unknown this property will return null. More... | |
Table.Table | Table [get] |
Gets the table object which is hosting the effect. More... | |
Properties inherited from DirectOutput.General.Generic.NamedItemBase | |
string | Name [get, set] |
Name of the named item. Triggers BeforeNameChange before a new Name is set. Triggers AfterNameChanged after a new name has been set. More... | |
Properties inherited from DirectOutput.General.Generic.INamedItem | |
string | Name [get, set] |
Gets or sets the name of the item. Must fire the BeforeNameChange and AfterNameChange events when the value of the property is changed. More... | |
Properties inherited from DirectOutput.FX.IEffect | |
new string | Name [get, set] |
Name of the effect. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from DirectOutput.FX.EffectEffectBase | |
void | TriggerTargetEffect (TableElementData TriggerData) |
Triggers the target effect. The method will deactivate the target effect if it throws a exception. More... | |
Protected Member Functions inherited from DirectOutput.General.Generic.NamedItemBase | |
virtual void | AfterNameChange (string OldName, string NewName) |
virtual void | BeforeNameChange (string OldName, string NewName) |
virtual void | OnPropertyChanged (string propertyName) |
virtual void | OnPropertyChanging (string propertyName) |
Events inherited from DirectOutput.General.Generic.NamedItemBase | |
EventHandler< NameChangeEventArgs > | AfterNameChanged |
Event is fired after the value of the property Name has changed. More... | |
EventHandler< NameChangeEventArgs > | BeforeNameChanged |
Event is fired before the value of the property Name is changed. More... | |
PropertyChangedEventHandler | PropertyChanged |
PropertyChangingEventHandler | PropertyChanging |
Events inherited from DirectOutput.General.Generic.INamedItem | |
EventHandler< NameChangeEventArgs > | BeforeNameChanged |
Occurs before the name of the item changes. More... | |
EventHandler< NameChangeEventArgs > | AfterNameChanged |
Occurs when after the name of the item has changed. More... | |
Events inherited from DirectOutput.FX.IEffect | |
new EventHandler< NameChangeEventArgs > | AfterNameChanged |
This event must be fired after the Name property of a IEffect object has changed. More... | |
new EventHandler< NameChangeEventArgs > | BeforeNameChanged |
This event must be fired before the Name property of a IEffect object is changed. More... | |
The effect fires a assigned target effect after a specified delay.
The original values supplied when the effect is triggered are forwarded to the target effect.
Definition at line 14 of file DelayEffect.cs.
|
virtual |
Finishes the DelayEffect.
Reimplemented from DirectOutput.FX.EffectEffectBase.
Definition at line 72 of file DelayEffect.cs.
|
virtual |
Initializes the DelayEffect.
Table | The table which contains the DelayEffect. |
Reimplemented from DirectOutput.FX.EffectEffectBase.
Definition at line 63 of file DelayEffect.cs.
|
virtual |
Triggers the effect.
If the TargetEffect throws a exception, it will be deactivated.
TableElementData | The TableElementData object for the TableElement which has triggered the effect. |
Implements DirectOutput.FX.EffectBase.
Definition at line 37 of file DelayEffect.cs.
|
getset |
Gets or sets the delay in milliseconds.
The delay in milliseconds.
Definition at line 26 of file DelayEffect.cs.