-
Notifications
You must be signed in to change notification settings - Fork 0
DisplayServer ScreenOrientation
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.DisplayServer.ScreenOrientation |
| Namespace | Electron2D |
| Kind | enum |
| Category | Display and Localization |
Identifies a requested screen orientation.
public enum Electron2D.DisplayServer.ScreenOrientation : System.IComparable, System.IConvertible, System.IFormattable, System.ISpanFormattableProfile: Electron2D 0.1.0 2D
Status: Partial / Not verified
Out of profile: yes
Godot reference: DisplayServer.ScreenOrientation
Orientation request values for landscape, portrait, reverse and sensor-driven modes.
Sensor-based values are accepted and stored even when the current platform backend cannot apply them immediately.
Enumeration values are immutable and may be used from any thread.
This enum is available since Electron2D 0.1.0 Preview.
| Member | Kind | Summary |
|---|---|---|
Landscape |
Enum value | Represents default landscape orientation. |
Portrait |
Enum value | Represents default portrait orientation. |
ReverseLandscape |
Enum value | Represents reverse landscape orientation. |
ReversePortrait |
Enum value | Represents reverse portrait orientation. |
Sensor |
Enum value | Represents automatic landscape or portrait orientation selected by sensors. |
SensorLandscape |
Enum value | Represents automatic landscape orientation selected by sensors. |
SensorPortrait |
Enum value | Represents automatic portrait orientation selected by sensors. |
Kind: Enum value
public const Electron2D.DisplayServer.ScreenOrientation LandscapeRepresents default landscape orientation.
Use this value with APIs that accept ScreenOrientation.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.DisplayServer.ScreenOrientation
Kind: Enum value
public const Electron2D.DisplayServer.ScreenOrientation PortraitRepresents default portrait orientation.
Use this value with APIs that accept ScreenOrientation.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.DisplayServer.ScreenOrientation
Kind: Enum value
public const Electron2D.DisplayServer.ScreenOrientation ReverseLandscapeRepresents reverse landscape orientation.
Use this value with APIs that accept ScreenOrientation.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.DisplayServer.ScreenOrientation
Kind: Enum value
public const Electron2D.DisplayServer.ScreenOrientation ReversePortraitRepresents reverse portrait orientation.
Use this value with APIs that accept ScreenOrientation.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.DisplayServer.ScreenOrientation
Kind: Enum value
public const Electron2D.DisplayServer.ScreenOrientation SensorRepresents automatic landscape or portrait orientation selected by sensors.
Use this value with APIs that accept ScreenOrientation.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.DisplayServer.ScreenOrientation
Kind: Enum value
public const Electron2D.DisplayServer.ScreenOrientation SensorLandscapeRepresents automatic landscape orientation selected by sensors.
Use this value with APIs that accept ScreenOrientation.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.DisplayServer.ScreenOrientation
Kind: Enum value
public const Electron2D.DisplayServer.ScreenOrientation SensorPortraitRepresents automatic portrait orientation selected by sensors.
Use this value with APIs that accept ScreenOrientation.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.DisplayServer.ScreenOrientation
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.