Class SoOnOff

All Implemented Interfaces:
SafeDisposable

public class SoOnOff extends SoEngine
Engine that functions as an on/off switch. This engine has three triggers as input and two Boolean values as output. The isOn output is a switch that can be turned on or off by triggering the corresponding input. You can toggle the value by triggering the toggle input. By default isOn is false. The isOff output value is the inverse of isOn

File format/default:

OnOff {

    on
    off
    toggle
}

See Also:
  • Field Details

  • Constructor Details

    • SoOnOff

      public SoOnOff()
      Constructor.