Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
ViewMode
Controls which debug rendering visualization overlay is drawn over the Studio viewport. The visualization highlights overdraw for geometry, transparency, or decals, or disables the overlay entirely. Assigned through RenderSettings.ViewMode, which defaults to ViewMode.None.
Items
| Name | Value | Description |
|---|---|---|
| None | 0 | Disables the debug rendering visualization overlay; the default value of RenderSettings.ViewMode. |
| GeometryComplexity | 1 | Displays an overdraw visualization highlighting geometric complexity across rendered surfaces. |
| Transparent | 2 | Displays an overdraw visualization highlighting surfaces rendered with transparency. |
| Decal | 3 | Displays an overdraw visualization highlighting surfaces rendered with decals. |
None
Disables the debug rendering visualization overlay; the default value of RenderSettings.ViewMode.
| Field | Value |
|---|---|
| value | 0 |
GeometryComplexity
Displays an overdraw visualization highlighting geometric complexity across rendered surfaces.
| Field | Value |
|---|---|
| value | 1 |
Transparent
Displays an overdraw visualization highlighting surfaces rendered with transparency.
| Field | Value |
|---|---|
| value | 2 |
Decal
Displays an overdraw visualization highlighting surfaces rendered with decals.
| Field | Value |
|---|---|
| value | 3 |