controlP5 / ControlWindow / setUpdateMode( )

name
setUpdateMode ( )
description
set the draw mode of a control window. a separate control window is only updated when in focus. to update the context of the window continuously, use yourControlWindow.setUpdateMode(ControlWindow.NORMAL); otherwise use yourControlWindow.setUpdateMode(ControlWindow.ECONOMIC); for an economic, less cpu intensive update. 
Syntax
setUpdateMode(theMode);
parameters
theMode 


Returns
None
Usage
Web & Application
Related