Screen
static class in UnityEngine.Device · UnityEngine.CoreModule
In Tassix
Screen as the device reports it: the same values here.
Properties 17
static bool autorotateToLandscapeLeft { get; set; }static bool autorotateToLandscapeRight { get; set; }static bool autorotateToPortrait { get; set; }static bool autorotateToPortraitUpsideDown { get; set; }static float brightness { get; set; }static Resolution currentResolution { get; }static Rect[] cutouts { get; }static float dpi { get; }static bool fullScreen { get; set; }static FullScreenMode fullScreenMode { get; set; }static int height { get; }static int msaaSamples { get; }static ScreenOrientation orientation { get; set; }static Resolution[] resolutions { get; }static Rect safeArea { get; }static int sleepTimeout { get; set; }static int width { get; }Methods 2
static void SetMSAASamples(int numSamples)static void SetResolution(int width, int height, FullScreenMode fullscreenMode, RefreshRate preferredRefreshRate)static void SetResolution(int width, int height, FullScreenMode fullscreenMode)static void SetResolution(int width, int height, bool fullscreen)Not in Tassix yet 4
GetDisplayLayout MoveMainWindowTo mainWindowDisplayInfo mainWindowPosition
Checked against Unity
Conformance scenarios that exercise it, recorded in Unity and compared event by event.