DirectOutput
DirectOutput framework R2 for virtual pinball cabinets.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
DirectOutput.FX.TimmedFX.BlinkEffect Class Reference

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...

Inheritance diagram for DirectOutput.FX.TimmedFX.BlinkEffect:
Collaboration diagram for DirectOutput.FX.TimmedFX.BlinkEffect:

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< NameChangeEventArgsAfterNameChanged
 Event is fired after the value of the property Name has changed. More...
 
EventHandler< NameChangeEventArgsBeforeNameChange
 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...
 

Detailed Description

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.

FX_Blink.png
Blink effect

Member Function Documentation

override void DirectOutput.FX.TimmedFX.BlinkEffect.Finish ( )
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.

Parameters
TableElementDataTableElementData for the TableElement which has triggered the effect.

Property Documentation

bool DirectOutput.FX.TimmedFX.BlinkEffect.Active
getset

Gets a value indicating whether this BlinkEffect is currently active.

true if active; otherwise false.

int DirectOutput.FX.TimmedFX.BlinkEffect.DurationActiveMs
getset

Gets or sets the active duration for the blinking in milliseconds.

The active duration of the blinking in milliseconds.

int DirectOutput.FX.TimmedFX.BlinkEffect.DurationInactiveMs
getset

Gets or sets the inactive duration for the blinking in milliseconds.

The inactive duration of the blinking in milliseconds.

int DirectOutput.FX.TimmedFX.BlinkEffect.HighValue
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.

int DirectOutput.FX.TimmedFX.BlinkEffect.LowValue
getset

Gets or sets the low value for the blinking.

The low value for the blinking (0-255).

BlinkEffectUntriggerBehaviourEnum DirectOutput.FX.TimmedFX.BlinkEffect.UntriggerBehaviour
getset

Gets or sets the untrigger behaviour which defines how the blinking stops.

The untrigger behaviour defines how the blinking stops.


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