TrackBall (Built-in Patch) in Environment

This macro patch encloses its subpatches in a virtual trackball that the user can roll with the mouse.

The center of rotation of the trackball can be specified with the rotation origin X/Y/Z inputs. The trackball is rolled according to the mouse movement when the mouse primary button is down. The mouse tracking sensibility and the optional autorotation of the trackball can be set in the patch’s settings.

Note that this patch does not read the mouse state directly but is dependent on the proper information being passed to the composition. This information may not always be available, depending on the environment in which Quartz Composer is running.

Input Attributes
  • Enable - Controls execution of the patch.
  • Track Mouse - Enables tracking of the mouse.
  • Reset Signal - Resets the trackball.
  • Rotation Origin X - Rotation origin on the X-axis.
  • Rotation Origin Y - Rotation origin on the Y-axis.
  • Rotation Origin Z - Rotation origin on the Z-axis.
Output Attributes
0 videos