Api.output
From Light Forge Wiki
Revision as of 16:50, 11 May 2013 by Chris Monson (Talk | contribs)
Methods
getDMX
getDMX(universe As Integer) As Byte()
Returns a byte array containing all current dmx data for the specified universe. If the specified universe doesn't exist this function returns null.
Usage:
dmxValues = api.output.getDMX(0) print(dmxValues[42])
getUniverseCount
getUniverseCount() as Integer
Returns the number of DMX universes in the current show.
Usage:
universeCount = api.output.getUniverseCount() print(universeCount)