Version: 2020.1
言語: 日本語

Screen

class in UnityEngine

マニュアルに切り替える

説明

ディスプレイ情報へのアクセス

Screen クラスは、サポートしている解像度のリスト、現在の解像度の変更、マウスポインターの 表示/非表示などを扱います。

Static 変数

autorotateToLandscapeLeft左へ自動回転するかどうか
autorotateToLandscapeRight右へ自動回転するかどうか
autorotateToPortrait自動で縦回転するのを許可するかどうか
autorotateToPortraitUpsideDown逆さまにしたときに、自動で縦回転するのを許可するかどうか
brightnessThe current brightness of the screen.
currentResolution現在の画面の解像度(読み取り専用)
cutoutsReturns a list of screen areas that are not functional for displaying content (Read Only).
dpiスクリーン/デバイスの現在の解像度(読み取り専用)
fullScreenIs the game running full-screen?
fullScreenModeSet this property to one of the values in FullScreenMode to change the display mode of your application.
heightピクセル単位のスクリーンの高さ(読み取り専用)
orientation画面の論理的な方向を指定します
resolutionsAll full-screen resolutions supported by the monitor (Read Only).
safeAreaReturns the safe area of the screen in pixels (Read Only).
sleepTimeout省電力設定。スクリーンが暗くなるまでのタイムアウトを設定します
widthピクセル単位のスクリーンの幅(読み取り専用)

Static 関数

SetResolution画面の解像度を切り替えます
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961