DirectOutput
DirectOutput framework R2 for virtual pinball cabinets.
|
Blink effect which triggers a TargetEffect at specified intervalls with active (org value of TableElementData used in Trigger method is used to trigger the TargetEffect) and inactive (uses 0 as the Value of the TableElementData to trigger the TargetEffect) values.
More...
Public Member Functions | |
override void | Trigger (Table.TableElementData TableElementData) |
Triggers the BlinkEffect with the given TableElementData. If the Value property of the TableElementData is >0, the blinking gets started. If the TableElementData Value property is 0, the blinking is stopped. More... | |
override void | Finish () |
Finishes the BlinkEffect. More... | |
Public Member Functions inherited from DirectOutput.FX.EffectEffectBase | |
override void | Init (Table.Table Table) |
Initializes the EffectEffect. Resolves the name of the TargetEffect. More... | |
Public Member Functions inherited from DirectOutput.FX.EffectBase | |
abstract void | Trigger (TableElementData TableElementData) |
Triggers the effect with the given TableElementData. More... | |
Properties | |
int | HighValue [get, set] |
Gets or sets the high value for the blinking. More... | |
int | LowValue [get, set] |
Gets or sets the low value for the blinking. More... | |
int | DurationActiveMs [get, set] |
Gets or sets the active duration for the blinking in milliseconds. More... | |
int | DurationInactiveMs [get, set] |
Gets or sets the inactive duration for the blinking in milliseconds. More... | |
BlinkEffectUntriggerBehaviourEnum | UntriggerBehaviour [get, set] |
Gets or sets the untrigger behaviour which defines how the blinking stops. More... | |
bool | Active [get, set] |
Gets a value indicating whether this BlinkEffect is currently active. 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, set] |
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, set] |
Gets the table object which is hosting 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... | |
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 > | BeforeNameChange |
Event is fired before the value of the property Name is 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 > | BeforeNameChange |
This event must be fired before the Name property of a IEffect object is changed. More... | |
Blink effect which triggers a TargetEffect at specified intervalls with active (org value of TableElementData used in Trigger method is used to trigger the TargetEffect) and inactive (uses 0 as the Value of the TableElementData to trigger the TargetEffect) values.
|
virtual |
Finishes the BlinkEffect.
Reimplemented from DirectOutput.FX.EffectEffectBase.
override void DirectOutput.FX.TimmedFX.BlinkEffect.Trigger | ( | Table.TableElementData | TableElementData | ) |
Triggers the BlinkEffect with the given TableElementData.
If the Value property of the TableElementData is >0, the blinking gets started. If the TableElementData Value property is 0, the blinking is stopped.
TableElementData | TableElementData for the TableElement which has triggered the effect. |
|
getset |
Gets a value indicating whether this BlinkEffect is currently active.
true
if active; otherwise false
.
|
getset |
Gets or sets the active duration for the blinking in milliseconds.
The active duration of the blinking in milliseconds.
|
getset |
Gets or sets the inactive duration for the blinking in milliseconds.
The inactive duration of the blinking in milliseconds.
|
getset |
Gets or sets the high value for the blinking.
The high value for the blinking. Values between 0 and 255 define the actual values which have to be output during the on phase of the blinking. A value of -1 defines that the value which has been received by the trigger event is used.
|
getset |
Gets or sets the low value for the blinking.
The low value for the blinking (0-255).
|
getset |
Gets or sets the untrigger behaviour which defines how the blinking stops.
The untrigger behaviour defines how the blinking stops.