DirectOutput
DirectOutput framework R2 for virtual pinball cabinets.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
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. More...
 
void Set (int Value, int Alpha)
 Sets the specified values. More...
 
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. More...
 
 AnalogAlpha (int Value, int Alpha)
 Initializes a new instance of the AnalogAlpha class. More...
 
 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. More...
 
 AnalogAlpha ()
 Initializes a new instance of the AnalogAlpha class. More...
 

Public Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

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

Initializes a new instance of the AnalogAlpha class.

Parameters
ValueThe analog value.
AlphaThe alpha value.
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.
DirectOutput.General.Analog.AnalogAlpha.AnalogAlpha ( )

Initializes a new instance of the AnalogAlpha class.

Member Function Documentation

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

Clones this instance.

Returns
A clone of the AnalogAlphaValue instance.
void DirectOutput.General.Analog.AnalogAlpha.Set ( int  Value,
int  Alpha 
)

Sets the specified values.

Parameters
ValueThe analog value.
AlphaThe alpha value.
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.

Member Data Documentation

int DirectOutput.General.Analog.AnalogAlpha.Alpha

The alpha value (0-255).

int DirectOutput.General.Analog.AnalogAlpha.Value

The analog value (0-255).


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