DirectOutput
DirectOutput framework R2 for virtual pinball cabinets.
|
This toys allows the grouping of several toys into a matrix, which can be controlled by matrix effects. More...
Public Member Functions | |
override void | UpdateOutputs () |
Updates the toys specified in the toy names array with the values from the layers of this toy. More... | |
override void | Init (Cabinet Cabinet) |
Initializes the toy. More... | |
override void | Reset () |
Resets the state of the IToy to its default state. More... | |
override void | Finish () |
Finished the toy, releases references to toys and layers. More... | |
MatrixElementType[,] | GetLayer (int LayerNr) |
Gets the 2 dimensional data array for the specified layer. More... | |
Properties | |
List< List< string > > | ToyNames [get, set] |
Gets or sets the 2-dimensional array of rgba toy names. More... | |
int | LayerOffset [get, set] |
Gets or sets the layer offset. The layer offset defines a fixed positive or negative offset to the layers which are controlled on the target toy. More... | |
MatrixDictionaryBase < MatrixElementType > | Layers [get, set] |
Gets the layers dictionary of the toy. More... | |
int | Height [get] |
Gets the height resp. the y dimension of the toys matrix. More... | |
int | Width [get] |
Gets the width resp. the x dimension of the toys matrix. More... | |
Properties inherited from DirectOutput.Cab.Toys.IToy | |
new string | Name [get, set] |
Gets or sets the Name of the IToy. More... | |
Properties inherited from DirectOutput.General.Generic.INamedItem | |
string | Name [get, set] |
Gets or sets the name of the item. Must fire the BeforeNameChange and AfterNameChange events when the value of the property is changed. More... | |
Properties inherited from DirectOutput.Cab.Toys.IMatrixToy< MatrixElementType > | |
int | Height [get] |
Gets the height resp. the y dimension of the toys matrix. More... | |
int | Width [get] |
Gets the width resp. the x dimension of the toys matrix. More... | |
Additional Inherited Members | |
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.General.Generic.INamedItem | |
EventHandler< NameChangeEventArgs > | BeforeNameChange |
Occurs before the name of the item changes. More... | |
EventHandler< NameChangeEventArgs > | AfterNameChanged |
Occurs when after the name of the item has changed. More... | |
This toys allows the grouping of several toys into a matrix, which can be controlled by matrix effects.
MatrixElementType | : | new() |
override void DirectOutput.Cab.Toys.Virtual.ToyGroupBase< MatrixElementType >.Finish | ( | ) |
Finished the toy, releases references to toys and layers.
Implements DirectOutput.Cab.Toys.IToy.
MatrixElementType [,] DirectOutput.Cab.Toys.Virtual.ToyGroupBase< MatrixElementType >.GetLayer | ( | int | LayerNr | ) |
Gets the 2 dimensional data array for the specified layer.
Dimension 0 of the array represents the x resp. horizontal direction. Dimension 1 of the array repersent the y resp. vertical direction. Position 0,0 is the upper left corner of the array.
LayerNr | The layer nr. |
Implements DirectOutput.Cab.Toys.IMatrixToy< MatrixElementType >.
override void DirectOutput.Cab.Toys.Virtual.ToyGroupBase< MatrixElementType >.Init | ( | Cabinet | Cabinet | ) |
Initializes the toy.
Implements DirectOutput.Cab.Toys.IToy.
override void DirectOutput.Cab.Toys.Virtual.ToyGroupBase< MatrixElementType >.Reset | ( | ) |
Resets the state of the IToy to its default state.
Implements DirectOutput.Cab.Toys.IToy.
|
virtual |
Updates the toys specified in the toy names array with the values from the layers of this toy.
Implements DirectOutput.Cab.Toys.ToyBaseUpdatable.
|
get |
Gets the height resp. the y dimension of the toys matrix.
The height resp. the y dimension of the toys matrix.
|
getset |
Gets or sets the layer offset.
The layer offset defines a fixed positive or negative offset to the layers which are controlled on the target toy.
The layer offset which defines a fixed positive or negative offset to the layers which are controlled on the target toy..
|
getset |
Gets the layers dictionary of the toy.
The layers dictionary of the toy.
|
getset |
Gets or sets the 2-dimensional array of rgba toy names.
The 2 dimensional array of RGBA toy names.
|
get |
Gets the width resp. the x dimension of the toys matrix.
The width resp. the x dimension of the toys matrix.