Skip to reading
GUI Styling, Shaders & Effects

19. Exact color and corner keys

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page
Source table from 19. Exact color and corner keys, page 66
JobAuthored element key
Normal / hover / pressed backgroundsbackground / hoverBackground / pressedBackground
Main textcolor
Surface / border / text alphaopacity / borderOpacity / textOpacity
Border outlineborderColor / borderWidth
Common element curveradius
Four cornersradiusTopLeft / radiusTopRight / radiusBottomRight / radiusBottomLeft
Metallic finishmetallicStrength
Reflective finishreflectionStrength / reflectionColor
Main font size / alignmentfontSize / textAlignment
Common GUI window curvewindowFrame.windowBorderRadius
GUI body backgroundwindowFrame.windowBackground / windowBackgroundEnabled

For GUI Window keys, the prefix identifies the stored windowFrame object. In the final row, windowBackgroundEnabled is also inside windowFrame. The script examples show the explicit prefixed form.

The inspector’s appearanceRadius control is an editor alias: it writes radius for an element and windowBorderRadius for the GUI Window. Use the actual authored keys in scripts.

A property name’s spelling and case matter. Do not infer that changing an editor control name through a runtime action will update the underlying authored field.

Page 66 of 70Permalink
Go to page