Function Light2D.setEnabled

void setEnabled (
  const(bool) enabled
) nothrow @nogc;