SLeafWidget

Implements a leaf widget.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SLeafWidget.h

Include

#include "Widgets/SLeafWidget.h"

Syntax

class SLeafWidget : public SWidget

Remarks

Implements a leaf widget.

A LeafWidget is a Widget that has no slots for children. LeafWidgets are usually intended as building blocks for aggregate widgets.

Constructors

Name Description

Public function

SLeafWidget()

Overridden from SWidget

Name Description

Public function Virtual

void

 

SetVisibility

(
    TAttribute< EVisibility > InVisibil...
)

Constants

Name

Description

NoChildrenInstance

Shared instance of FNoChildren for all widgets with no children.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss