Bootstrap Chameleon Logo

SOverlay

SOverlay

Property Type Note
Aka String Name for the widget
Padding Number or Number Array (Length = 2 or 4)
Slots Array The array which contain children widgets
ToolTipText String
Visibility Enum: EVisibility: Visible, Collapsed, Hidden, HitTestInvisible, SelfHitTestInvisible, All

Examples

Example 1:

    "SOverlay": {
        "Slots":
        [
            {
                "SImage": {
                        "Aka": "AImage",
                        "ImagePathInPlugin": "Resources/cartoon_game_map.png"
                }
            },
            {
                "SUniformGridPanel": {
                    "Slots": [
                        {
                            "Column_Row": [0, 0],
                            "SButton": {
                                "Text": "Tile 0_0",
                                "ButtonColorAndOpacity": [1, 1, 1, 0.5]
                            }
                        },
                        {
                            "Column_Row": [1, 0],
                            "SButton": {
                                "Text": "Tile 1_0",
                                "ButtonColorAndOpacity": [1, 1, 1, 0.5]
                            }
                        },
                        {
                            "Column_Row": [2, 0],
                            "SButton": {
                                "Text": "Tile 2_0",
                                "ButtonColorAndOpacity": [1, 1, 1, 0.5]
                            }
                        }
                    ]
                }
            }
        ]
    }