Difference between revisions of "SysInfo Class"

From TouchDesigner Documentation
Jump to: navigation, search
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{TDClassSummary|label=SysInfo|summary=The SysInfo class describes current system information.  It can be accessed with the sysinfo object, found in the automatically imported td module.}}
+
{{TDClassSummary|label=SysInfo|summary=The SysInfo class describes current system information.  It can be accessed with the sysinfo object, found in the automatically imported [[td Module|td module]].}}
 
<section begin=HELPBODY />
 
<section begin=HELPBODY />
 
{{ClassMemberSection|empty=
 
{{ClassMemberSection|empty=
 
|Sectionsummary=
 
|Sectionsummary=
|items=
+
|items=
+
{{ClassMember
 +
    |class=SysInfo
 +
    |name=numCPUs
 +
    |type=int
 +
    |set=0
 +
    |text=The number of CPUs/cores on the system.
 +
}}
 
{{ClassMember
 
{{ClassMember
 
     |class=SysInfo
 
     |class=SysInfo
Line 11: Line 17:
 
     |set=0
 
     |set=0
 
     |text=Amount of available RAM memory.
 
     |text=Amount of available RAM memory.
}}}}
+
}}
 +
{{ClassMember
 +
    |class=SysInfo
 +
    |name=numMonitors
 +
    |type=int
 +
    |set=0
 +
    |text=The number of monitors.
 +
}}
 +
{{ClassMember
 +
    |class=SysInfo
 +
    |name=xres
 +
    |type=int
 +
    |set=0
 +
    |text=The system's current monitor resolution width.
 +
}}
 +
{{ClassMember
 +
    |class=SysInfo
 +
    |name=yres
 +
    |type=int
 +
    |set=0
 +
    |text=The system's current monitor resolution height.
 +
}}
 +
{{ClassMember
 +
    |class=SysInfo
 +
    |name=tfs
 +
    |type=str
 +
    |set=0
 +
    |text=The path to the TFS directory.
 +
}}
 +
}}
 
{{ClassMethodSection|empty=True
 
{{ClassMethodSection|empty=True
 
|Sectionsummary=
 
|Sectionsummary=

Latest revision as of 15:19, 6 December 2019

The SysInfo class describes current system information. It can be accessed with the sysinfo object, found in the automatically imported td module.


Members

numCPUsint (Read Only):

The number of CPUs/cores on the system.

ramfloat (Read Only):

Amount of available RAM memory.

numMonitorsint (Read Only):

The number of monitors.

xresint (Read Only):

The system's current monitor resolution width.

yresint (Read Only):

The system's current monitor resolution height.

tfsstr (Read Only):

The path to the TFS directory.

Methods

No operator specific methods.


TouchDesigner Build: