Reference API Roblox

Engine API

Website

Related

Reference API Roblox

AdornShading

Determines the shading material and render pass used to draw a handle adornment.

Items 5

HistoryNameValueDescription
686Default0

Draws the adornment unlit and occluded by scene geometry like an ordinary world object.

686Shaded1

Draws the adornment lit by scene lighting and occluded by scene geometry.

686XRay2

Draws the adornment unlit and visible through geometry that would otherwise occlude it.

686XRayShaded3

Draws the adornment lit by scene lighting and visible through geometry that would otherwise occlude it.

686AlwaysOnTop4

Draws the adornment unlit on top of all other geometry with no depth testing.

Description

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.

History 6

Settings