DirectOutput
DirectOutput framework R3 for virtual pinball cabinets.
Loading...
Searching...
No Matches
DirectOutput.General.Analog.AnalogAlpha Class Reference

Object containing a analog value (0-255) and a alpha value (0-255). More...

Public Member Functions

AnalogAlpha Clone ()
 Clones this instance.
void Set (int Value, int Alpha)
 Sets the specified values.
void Set (int Value)
 Sets the analog value.
If Value is 0, the alpha value will be set to 0, otherwise it will be set to 255.
 AnalogAlpha (int Value, int Alpha)
 Initializes a new instance of the AnalogAlpha class.
 AnalogAlpha (int Value)
 Initializes a new instance of the AnalogAlpha class. If Value is 0, the alpha value will be set to 0, otherwise it will be set to 255.
 AnalogAlpha ()
 Initializes a new instance of the AnalogAlpha class.

Public Attributes

int Value
 The analog value (0-255).
int Alpha
 The alpha value (0-255).

Detailed Description

Object containing a analog value (0-255) and a alpha value (0-255).

Constructor & Destructor Documentation

◆ AnalogAlpha() [1/3]

DirectOutput.General.Analog.AnalogAlpha.AnalogAlpha ( int Value,
int Alpha )

Initializes a new instance of the AnalogAlpha class.

Parameters
ValueThe analog value.
AlphaThe alpha value.

◆ AnalogAlpha() [2/3]

DirectOutput.General.Analog.AnalogAlpha.AnalogAlpha ( int Value)

Initializes a new instance of the AnalogAlpha class. If Value is 0, the alpha value will be set to 0, otherwise it will be set to 255.

Parameters
ValueThe analog value.

◆ AnalogAlpha() [3/3]

DirectOutput.General.Analog.AnalogAlpha.AnalogAlpha ( )

Initializes a new instance of the AnalogAlpha class.

Member Function Documentation

◆ Clone()

AnalogAlpha DirectOutput.General.Analog.AnalogAlpha.Clone ( )

Clones this instance.

Returns
A clone of the AnalogAlphaValue instance.

◆ Set() [1/2]

void DirectOutput.General.Analog.AnalogAlpha.Set ( int Value)

Sets the analog value.
If Value is 0, the alpha value will be set to 0, otherwise it will be set to 255.

Parameters
ValueThe analog value.

◆ Set() [2/2]

void DirectOutput.General.Analog.AnalogAlpha.Set ( int Value,
int Alpha )

Sets the specified values.

Parameters
ValueThe analog value.
AlphaThe alpha value.

Member Data Documentation

◆ Alpha

int DirectOutput.General.Analog.AnalogAlpha.Alpha

The alpha value (0-255).

◆ Value

int DirectOutput.General.Analog.AnalogAlpha.Value

The analog value (0-255).


The documentation for this class was generated from the following file:
  • D:/a/DirectOutput/DirectOutput/DirectOutput/General/Analog/AnalogAlpha.cs