Function Viewport.setDisableInput

void setDisableInput (
  const(bool) disable
) nothrow @nogc;