# GetEditorScreenOrientation Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.Utilities.GameViewUtils.GetEditorScreenOrientation/ GetEditorScreenOrientation --- ## Declaration public static ScreenOrientation GetEditorScreenOrientation() #### Summary Calculates the screen orientation via the game view aspect ratio. Use this method instead of UnityEngine.Screen.orientation in Editor, as the latter only returns Portrait in Editor. #### Returns The screen orientation. When this method is called in a platform other than the Unity Editor, it defaults to return ScreenOrientation.Portrait. ---