ScreenOrientation列挙型(Enum)
列挙型(Enum)日本語解説は準備中
ひとことで言うと
ScreenOrientationは、ロブロックス(Roblox)の列挙型(Enum)です。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):The preference of in-game screen orientation on hand-held devices.
選べる値(5)
| 名前 | 値 | 説明 |
|---|---|---|
Enum.ScreenOrientation.LandscapeLeft | 0 | A preference where the game is displayed landscape (horizontally) with the bottom of the device on the left side of the screen. |
Enum.ScreenOrientation.LandscapeRight | 1 | A preference where the game is displayed landscape (horizontally) with the bottom of the device on the right side of the screen. |
Enum.ScreenOrientation.LandscapeSensor | 2 | A preference where the game is displayed landscape (horizontally) with the bottom of the device on the left of right side of the screen depending on the device's orientation (the sensor determines which side allows for the game to be displayed right-side-up). |
Enum.ScreenOrientation.Portrait | 3 | A preference where the game is displayed portrait (vertically) with the bottom of the device on the bottom of the screen. |
Enum.ScreenOrientation.Sensor | 4 | A preference where the game is displayed depending on the best match to the device's current orientation - either landscape (left/right) or portrait. |
英語の説明とメンバーの一覧は、Roblox Creator Documentation(ScreenOrientation)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。