Meta_TexturedPanelStyle
Module: Metanodes / Definitions
A TexturedPanelStyle provides an image background for a panel or stack.
#include <meta_gui.hpp>
Public Types
| Type | Name |
|---|---|
| enum | IDX { Idx_Borders, Idx_Texture, Idx_TextureRect, Idx_CornerSize, Idx_CornerTextureSize, Idx_TextureRot } Property index. |
Public Types Documentation
enum IDX
| Enumerator | Value | Description |
|---|---|---|
| Idx_Borders | vec2f - Specifies padding around the edge of the styled object | |
| Idx_Texture | link - The texture to display on the background | |
| Idx_TextureRect | vec4f - Section of the texture to be used, specified in normalised UV coordinates | |
| Idx_CornerSize | vec2f - Size of the corners in panel units | |
| Idx_CornerTextureSize | vec2f - Size of the corner graphics in the texture, in UV coordinates | |
| Idx_TextureRot | float - Rotation of the texture (degrees) |
Property index.