Access to display information.
访问显示信息。
Screen class can be used to get the list of supported resolutions, switch the current resolution, hide or show the system mouse pointer.
Class Variables类变量
-
All fullscreen resolutions supported by the monitor (Read Only).
显示器支持的所有全屏分辨率。(只读)
-
The current screen resolution (Read Only).
当前屏幕的分辨率。(只读)
-
Should the cursor be visible?
光标是否可见?
-
Should the cursor be locked?
是否光标被锁定?
-
The current width of the screen window in pixels (Read Only).
以像素单位,屏幕窗口的当前宽度。(只读)
-
The current height of the screen window in pixels (Read Only).
以像素单位,屏幕窗口的当前高度。(只读)
-
Is the game running fullscreen?
游戏是否运行在全屏模式?
-
自动旋转为纵向
-
自动旋转为纵向倒置
-
自动旋转为左横向
-
自动旋转为右横向
-
Specifies logical orientation of the screen. Default value is taken
指定屏幕的逻辑取向。默认值采用“'Default Orientation”玩家设置。
-
A power saving setting, allowing the screen to dim some time after the
省电设置,最后活跃用户交互之后,过一些时间,使屏幕变暗。
Class Functions类函数
Page last updated: 2011-9-18