You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en-us/reference/engine/classes/Camera.yaml
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -557,11 +557,12 @@ properties:
557
557
width="840" alt="Mobile device screen with cutout showing device safe
558
558
area." />
559
559
560
-
Note: `Class.Camera.ViewportSize` is not equal to the fullscreen area
561
-
size on displays with cutouts or notches. To obtain the fullscreen area
562
-
size on all displays, you can query the `AbsoluteSize` property of a
563
-
`Class.ScreenGui` with `ScreenInsets=None`. See `Enum.ScreenInsets` for a
564
-
more information about how screen areas are defined.
560
+
As noted above, `Class.Camera.ViewportSize` is not equal to the fullscreen area size
561
+
on displays with cutouts or
562
+
notches. To obtain the fullscreen area size on all displays, you can query the
563
+
`Class.ScreenGui.AbsoluteSize|AbsoluteSize` property of a `Class.ScreenGui` with
564
+
`Class.ScreenGui.ScreenInsets|ScreenInsets` set to `Enum.ScreenInsets.None|None`. See
565
+
`Enum.ScreenInsets` for a more information about how screen areas are defined.
565
566
566
567
`Class.Camera.ViewportSize|ViewportSize` is not equal to the fullscreen size in order to improve cross-platform compatibility and backwards compatibility with legacy experiences.
0 commit comments