DirectOutput
DirectOutput framework R2 for virtual pinball cabinets.
|
A single setting from a LedControl.ini file. More...
Public Member Functions | |
void | ParseSettingData (string SettingData) |
Parses the setting data. More... | |
TableConfigSetting (string SettingData) | |
Initializes a new instance of the TableConfigSetting class. Parses the setting data. More... | |
TableConfigSetting () | |
Initializes a new instance of the TableConfigSetting class. More... | |
Public Attributes | |
string | TableElement = null |
The table element triggering the effect (if available) More... | |
string | Condition = null |
The condition if available. More... | |
int | BlinkLow |
int | AreaLeft = 0 |
int | AreaTop = 0 |
int | AreaWidth = 100 |
int | AreaHeight = 100 |
int | AreaSpeed = 100 |
int | AreaAcceleration = 0 |
int | AreaFlickerDensity = 0 |
int | AreaFlickerMinDurationMs = 0 |
int | AreaFlickerMaxDurationMs = 0 |
MatrixShiftDirectionEnum | AreaDirection = null |
bool | IsArea = false |
bool | IsBitmap = false |
int | AreaBitmapTop = 0 |
int | AreaBitmapLeft = 0 |
int | AreaBitmapWidth = -1 |
int | AreaBitmapHeight = -1 |
int | AreaBitmapFrame =0 |
int | AreaBitmapAnimationStepSize = 1 |
int | AreaBitmapAnimationStepCount = 0 |
int | AreaBitmapAnimationFrameDuration = 30 |
MatrixAnimationStepDirectionEnum | AreaBitmapAnimationDirection = MatrixAnimationStepDirectionEnum.Frame |
AnimationBehaviourEnum | AreaBitmapAnimationBehaviour = AnimationBehaviourEnum.Loop |
Properties | |
OutputControlEnum | OutputControl [get, set] |
Defines the control mode for a output. It can be constantly on, off or it can be controlled by a element of a pinball table. More... | |
string | ColorName [get, set] |
Gets or sets the name of the color of the setting. This should only be set for RGB outputs. More... | |
ColorConfig | ColorConfig [get, set] |
Gets or sets the color config. More... | |
OutputTypeEnum | OutputType [get] |
Gets the type of the output. The value of this property depends on the value of the ColorName property. More... | |
int | DurationMs [get, set] |
Gets or sets the duration in milliseconds. More... | |
int | MinDurationMs [get, set] |
Gets or sets the minimum duration in milliseconds. More... | |
int | MaxDurationMs [get, set] |
Gets or sets the max duration for the effect in milliseconds. More... | |
int | ExtDurationMs [get, set] |
Gets or sets the extended duration for the effect in milliseconds. More... | |
int | Intensity [get, set] |
Gets or sets the intensity. If the property ColorName is set, this property will always return -1. More... | |
int | FadingUpDurationMs [get, set] |
Gets or sets the duration for fading up in milliseconds. More... | |
int | FadingDownDurationMs [get, set] |
Gets or sets the duration for fading down in milliseconds. More... | |
int | Blink [get, set] |
Gets or sets the number blinks. More... | |
int | BlinkIntervalMs [get, set] |
Gets or sets the blink interval in milliseconds. More... | |
int | BlinkIntervalMsNested [get, set] |
Gets or sets the blink interval in milliseconds for nested blinking. More... | |
int | BlinkPulseWidthNested [get, set] |
Gets or sets the width of the blink pulse for nested blinking. Value must be between 1 and 99 (defaults to 50). More... | |
int | BlinkPulseWidth [get, set] |
Gets or sets the width of the blink pulse. Value must be between 1 and 99 (defaults to 50). More... | |
bool | Invert [get, set] |
Gets or sets a value indicating whether the trigger value for the effect is inverted. More... | |
bool | NoBool [get, set] |
Indicates the the trigger value of the effect is not to be treated as a boolean value resp. that the value should not be mapped to 0 or 255 (255 for all values which are not 0). More... | |
int | WaitDurationMs [get, set] |
Gets or sets the wait duration before the effect is triggered. More... | |
int | Layer [get, set] |
Gets or sets the layer for the settings. More... | |
A single setting from a LedControl.ini file.
DirectOutput.LedControl.Loader.TableConfigSetting.TableConfigSetting | ( | string | SettingData | ) |
Initializes a new instance of the TableConfigSetting class. Parses the setting data.
SettingData | The setting data. |
System.Exception | No data to parse. or Cant parse the part {0} of the ledcontrol table config setting {1}. |
DirectOutput.LedControl.Loader.TableConfigSetting.TableConfigSetting | ( | ) |
Initializes a new instance of the TableConfigSetting class.
void DirectOutput.LedControl.Loader.TableConfigSetting.ParseSettingData | ( | string | SettingData | ) |
Parses the setting data.
SettingData | The setting data. |
System.Exception | No data to parse. or Cant parse the part {0} of the ledcontrol table config setting {1}.. |
int DirectOutput.LedControl.Loader.TableConfigSetting.AreaAcceleration = 0 |
AnimationBehaviourEnum DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapAnimationBehaviour = AnimationBehaviourEnum.Loop |
MatrixAnimationStepDirectionEnum DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapAnimationDirection = MatrixAnimationStepDirectionEnum.Frame |
int DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapAnimationFrameDuration = 30 |
int DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapAnimationStepCount = 0 |
int DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapAnimationStepSize = 1 |
int DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapFrame =0 |
int DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapHeight = -1 |
int DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapLeft = 0 |
int DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapTop = 0 |
int DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapWidth = -1 |
MatrixShiftDirectionEnum DirectOutput.LedControl.Loader.TableConfigSetting.AreaDirection = null |
int DirectOutput.LedControl.Loader.TableConfigSetting.AreaFlickerDensity = 0 |
int DirectOutput.LedControl.Loader.TableConfigSetting.AreaFlickerMaxDurationMs = 0 |
int DirectOutput.LedControl.Loader.TableConfigSetting.AreaFlickerMinDurationMs = 0 |
int DirectOutput.LedControl.Loader.TableConfigSetting.AreaHeight = 100 |
int DirectOutput.LedControl.Loader.TableConfigSetting.AreaLeft = 0 |
int DirectOutput.LedControl.Loader.TableConfigSetting.AreaSpeed = 100 |
int DirectOutput.LedControl.Loader.TableConfigSetting.AreaTop = 0 |
int DirectOutput.LedControl.Loader.TableConfigSetting.AreaWidth = 100 |
int DirectOutput.LedControl.Loader.TableConfigSetting.BlinkLow |
string DirectOutput.LedControl.Loader.TableConfigSetting.Condition = null |
The condition if available.
bool DirectOutput.LedControl.Loader.TableConfigSetting.IsArea = false |
bool DirectOutput.LedControl.Loader.TableConfigSetting.IsBitmap = false |
string DirectOutput.LedControl.Loader.TableConfigSetting.TableElement = null |
The table element triggering the effect (if available)
|
getset |
Gets or sets the number blinks.
The number of blinks. -1 means infinite number of blinks.
|
getset |
Gets or sets the blink interval in milliseconds.
The blink interval in milliseconds.
|
getset |
Gets or sets the blink interval in milliseconds for nested blinking.
The blink interval in milliseconds for nested blinking.
|
getset |
Gets or sets the width of the blink pulse. Value must be between 1 and 99 (defaults to 50).
The width of the blink pulse.
|
getset |
Gets or sets the width of the blink pulse for nested blinking. Value must be between 1 and 99 (defaults to 50).
The width of the blink pulse for nested blinking.
|
getset |
Gets or sets the color config.
The color config.
|
getset |
Gets or sets the name of the color of the setting.
This should only be set for RGB outputs.
The name of the color as specified in the color section of the Ledcontrol.ini file.
|
getset |
Gets or sets the duration in milliseconds.
The duration in milliseconds.
|
getset |
Gets or sets the extended duration for the effect in milliseconds.
The extended duration of the effect in milliseconds.
|
getset |
Gets or sets the duration for fading down in milliseconds.
The duration of the fading in milliseconds.
|
getset |
Gets or sets the duration for fading up in milliseconds.
The duration of the fading in milliseconds.
|
getset |
Gets or sets the intensity.
If the property ColorName is set, this property will always return -1.
The intensity.
|
getset |
Gets or sets a value indicating whether the trigger value for the effect is inverted.
true
if invert; otherwise, false
.
|
getset |
Gets or sets the layer for the settings.
The layer for the settings.
|
getset |
Gets or sets the max duration for the effect in milliseconds.
The max duration of the effect in milliseconds.
|
getset |
Gets or sets the minimum duration in milliseconds.
The minimum duration in milliseconds.
|
getset |
Indicates the the trigger value of the effect is not to be treated as a boolean value resp. that the value should not be mapped to 0 or 255 (255 for all values which are not 0).
true
if [no bool]; otherwise, false
.
|
getset |
Defines the control mode for a output. It can be constantly on, off or it can be controlled by a element of a pinball table.
The output control enum value.
|
get |
Gets the type of the output.
The value of this property depends on the value of the ColorName property.
The type of the output.
|
getset |
Gets or sets the wait duration before the effect is triggered.
The wait duration in milliseconds