C# Class DP.DMX

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: davivid/Unity-DMX Class Usage Examples

Public Properties

Property Type Description
serialPortIdx int
serialPorts List

Public Methods

Method Description
OpenSerialPort ( ) : void

Open the selected serial port

this ( int index ) : int

Gets of sets the DMX level at specified channel

Private Methods

Method Description
GetPortNames ( ) : void

List the avilable serial ports

OnApplicationQuit ( ) : void

Shutdown DMX and cleanup.

Start ( ) : void
ThreadedIO ( ) : void

The Threaded function that processes the serial i/o.

initTXBuffer ( ) : void

Init the TxBufffer with Header and End bytes

Method Details

OpenSerialPort() public method

Open the selected serial port
public OpenSerialPort ( ) : void
return void

this() public method

Gets of sets the DMX level at specified channel
public this ( int index ) : int
index int
return int

Property Details

serialPortIdx public property

Index of the selected serial port
public int serialPortIdx
return int

serialPorts public property

List containing strings of all available serial ports
public List serialPorts
return List