Enum
Enum.DisplaySize
This enum is used with GuiService.ViewportDisplaySize to indicate the internally-categorized rendering size of the viewport.
| Item | Value | Summary |
|---|---|---|
| Enum.DisplaySize.Small | 0 | Viewport is categorized as small. Applies to most tablet/mobile/handheld devices. |
| Enum.DisplaySize.Medium | 1 | Viewport is categorized as medium. Applies to most laptops and monitors. |
| Enum.DisplaySize.Large | 2 | Viewport is categorized as large. Applies to most TVs or larger. |
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.