new MainLoop(patch, frames_per_second)
The MainLoop continuously runs VVVV.Core.Patch.evaluate at a specified frame rate, and holds timing information
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
patch |
VVVV.Core.Patch | the root patch |
|
frames_per_second |
Integer |
<optional> |
default is 60 |
- Source:
Members
-
deltaT
-
the time in ms elapsed since the last evaluation cycle
- Source:
Methods
-
isRunning() → {Boolean}
-
tells, if the main loop is running
- Source:
Returns:
true, if it's running, false otherwise
- Type
- Boolean
-
start()
-
(re)starts the main loop
- Source:
-
stop()
-
pauses the main loop
- Source:
-
<inner> update()
-
Called every 1000/VVVV.fps ms, and subsequently calls VVVV.Core.Patch.evaluate. It also triggers population of DOM IOBoxes before, and processing of DOM IOBoxes after evaluation.
- Source: