C# Class DP.DMX

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: davivid/Unity-DMX Class Usage Examples

Méthodes publiques

Свойство Type Description
serialPortIdx int
serialPorts List

Méthodes publiques

Méthode Description
OpenSerialPort ( ) : void

Open the selected serial port

this ( int index ) : int

Gets of sets the DMX level at specified channel

Private Methods

Méthode 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 méthode

Open the selected serial port
public OpenSerialPort ( ) : void
Résultat void

this() public méthode

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

Property Details

serialPortIdx public_oe property

Index of the selected serial port
public int serialPortIdx
Résultat int

serialPorts public_oe property

List containing strings of all available serial ports
public List serialPorts
Résultat List