parameters: (self)
docstring: Toggles light attribute, but doesn't toggle individual lights
docstring_summary: Toggles light attribute, but doesn't toggle individual lights
docstring_tokens: Toggles light attribute but doesn t toggle individual lights
function: def toggle(self):
          """
          Toggles light attribute, but doesn't toggle individual lights
          """
          if render.node().hasAttrib(LightAttrib.getClassType()):
              self.allOff()
          else:
              self.allOn()
function_tokens: def toggle ( self ) : if render . node ( ) . hasAttrib ( LightAttrib . getClassType ( ) ) : self . allOff ( ) else : self . allOn ( )