Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
AdornShading
Used by the Shading property on handle adornments (BoxHandleAdornment, SphereHandleAdornment, CylinderHandleAdornment, ConeHandleAdornment, PyramidHandleAdornment) to control whether the adornment is drawn unlit or lit by the scene, and whether it renders through occluding geometry or on top of everything.
Items
| Name | Value | Description |
|---|---|---|
| Default | 0 | Draws the adornment unlit and occluded by scene geometry like an ordinary world object. |
| Shaded | 1 | Draws the adornment lit by scene lighting and occluded by scene geometry. |
| XRay | 2 | Draws the adornment unlit and visible through geometry that would otherwise occlude it. |
| XRayShaded | 3 | Draws the adornment lit by scene lighting and visible through geometry that would otherwise occlude it. |
| AlwaysOnTop | 4 | Draws the adornment unlit on top of all other geometry with no depth testing. |
Default
Draws the adornment unlit and occluded by scene geometry like an ordinary world object.
| Field | Value |
|---|---|
| value | 0 |
Shaded
Draws the adornment lit by scene lighting and occluded by scene geometry.
| Field | Value |
|---|---|
| value | 1 |
XRay
Draws the adornment unlit and visible through geometry that would otherwise occlude it.
| Field | Value |
|---|---|
| value | 2 |
XRayShaded
Draws the adornment lit by scene lighting and visible through geometry that would otherwise occlude it.
| Field | Value |
|---|---|
| value | 3 |
AlwaysOnTop
Draws the adornment unlit on top of all other geometry with no depth testing.
| Field | Value |
|---|---|
| value | 4 |