ImageLabel¶
Object ยท UI
A 2D element that displays a static or animated image texture.
Components¶
A new ImageLabel starts with these components.
| Component | About |
|---|---|
| Box | Screen-space rectangle; scale is a parent fraction, offset pixels |
| UIOrder | Draw and list order among siblings |
| Image | Draws a texture inside the rect of this element |
| UIImageStates | Swaps the image of a button on hover, press and disable |
| UIImageScale | Slices, tiles, fits or crops the image of this element, or shows one sprite of a sheet |
| UIRadialFill | Shows the image of this element up to an angle |
| UIHidden | Hides the entity and its subtree; the renderer skips it |
| UIDisabled | Draws the control dim and refuses the pointer and the key; absent means usable |
| UITransform | Turns and scales the element and its children after layout; the pointer follows the turned shape |