monitors Class

From TouchDesigner Documentation
Revision as of 10:25, 9 August 2017 by Admin (talk | contribs) (Monitors Class Auto Create)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


The Monitors class describes the set of all installed monitor objects. It can be accessed with the monitors object, found in the automatically imported td module. It is a list of monitor objects, where monitors[0] is monitor 0 (0-indexed).


Members

bottom(Read Only):

The bottommost position of the combined monitor area, measured in pixels.

height(Read Only):

The height of the combined monitor area, measured in pixels.

left(Read Only):

The leftmost edge of the combined monitor area, measured in pixels.

primary(Read Only):

The primary monitor display.

right(Read Only):

The rightmost edge of the combined monitor area, measured in pixels.

top(Read Only):

The topmost position of the combined monitor area, measured in pixels.

width(Read Only):

The width of the combined monitor area, measured in pixels.

Methods

locate(x,y):

: -> Monitor Return the monitor at the specified mouse coordinates, or None.

TouchDesigner Build:

{list}