Close

Monitor Class

The Monitor class describes a single instance of a monitor display. They can be accessed from the monitors object.


Members

indexint (Read Only):

The monitor position in the list.

isPrimarybool (Read Only):

Returns true, if this monitor is the primary display.

isAffinitybool (Read Only):

Returns true, if this monitor is connected to the GPU that has been selected for GPU Affinity. Always True if GPU Affinity is not used.

widthint (Read Only):

The width of the monitor area, measured in pixels.

heightint (Read Only):

The height of the monitor area, measured in pixels.

leftint (Read Only):

The position of left edge of the monitor area, measured in pixels.

rightint (Read Only):

The position of right edge of the monitor area, measured in pixels.

topint (Read Only):

The position of top edge of the monitor area, measured in pixels.

bottomint (Read Only):

The position of bottom edge of the monitor area, measured in pixels.

displayNamestr (Read Only):

The unique display name associated with this monitor.

descriptionstr (Read Only):

A description of the monitor or its display adapter.

dpiScalefloat (Read Only):

The DPI Scaling factor the monitor is current set to.

scaledWidthint (Read Only):

The width of the monitor area, measured in points.

scaledHeightint (Read Only):

The height of the monitor area, measured in points.

scaledLeftint (Read Only):

The position of left edge of the monitor area, measured in points.

scaledRightint (Read Only):

The position of right edge of the monitor area, measured in points.

scaledTopint (Read Only):

The position of top edge of the monitor area, measured in points.

scaledBottomint (Read Only):

The position of bottom edge of the monitor area, measured in points.

serialNumberstr (Read Only):

The serial number name associated with this monitor. May be blank.

refreshRatefloat (Read Only):

The refresh rate the monitor is currently running at.

Methods

No operator specific methods.

Accessing Monitors

See Monitors Class for examples on how to access individual monitors.


TouchDesigner Build: