Skip to reading
GUI Styling, Shaders & Effects

Exact image and widget-part 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 Exact image and widget-part keys, page 67
RegionNormal imageFit
Ordinary elementbackgroundImageAssetIdbackgroundFit
GridgridBackgroundAssetIdgridBackgroundFit
SlotslotBackgroundImageAssetIdslotBackgroundFit
Save screenshotsaveScreenshotBackgroundImageAssetIdsaveScreenshotFit

The ordinary element’s hover and press keys are hoverImageAssetId and pressedImageAssetId. Grid uses gridHoverImageAssetId and gridPressedImageAssetId. Slot uses slotHoverImageAssetId and slotPressedImageAssetId. Screenshot uses saveScreenshotHoverImageAssetId and saveScreenshotPressedImageAssetId.

Source table from Exact image and widget-part keys, page 67
PartCommon curve and corner family
GridgridRadius, followed by gridRadiusTopLeft and the other three corners.
SlotslotRadius, followed by slotRadiusTopLeft and the other three corners.
Save screenshotsaveScreenshotRadius, followed by saveScreenshotRadiusTopLeft and the other three corners.

Slider handle images are sliderThumbAssetId and sliderThumbHoverAssetId. Supported media content uses contentFit and contentMarginLeft/Top/Right/Bottom. Choose these through the typed inspector where possible.

Media Asset is commonly stored as assetId. Its meaning depends on the element type: a picture, video or model is not the same kind of content as a Button backdrop.

Page 67 of 70Permalink
Go to page