Navigation
API > API/Runtime > API/Runtime/SlateCore
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.
| Name | SLeafWidget |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Widgets/SLeafWidget.h |
| Include Path | #include "Widgets/SLeafWidget.h" |
Syntax
class SLeafWidget : public SWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SLeafWidget
- FSlateControlledConstruction → SWidget → SLeafWidget
Derived Classes
SLeafWidget derived class hierarchy
- SAudioMaterialButton
- SAudioMaterialEnvelope
- SAudioMaterialKnob
- SAudioMaterialSlider
- SAudioMeterBase
- SCircularThrobber
- SColorBlock
- SColorGradientEditor
- SColorGradingWheel
- SColorSpectrum
- SColorWheel
- SDebugCanvas
- SFixedSampledSequenceVectorViewer
- SFixedSampledSequenceViewer
- SImage
- SMeshWidget
- SPlayheadOverlay
- SPostBufferUpdate
- SProgressBar
- SRadialSlider
- SSampledSequenceValueGridOverlay
- SSlider
- SSpacer
- SSynth2DSlider
- SSynthKnob
- STextBlock
- STimecode
- STreeMap
- STriggerThresholdLineWidget
- STweenSlider
- SVirtualJoystick
- SVirtualKeyboardEntry
- SAudioMeterWidgetBase
- SGraphBar
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SLeafWidget() |
Widgets/SLeafWidget.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~SLeafWidget() |
Widgets/SLeafWidget.h |
Functions
Public
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SetVisibility
(
TAttribute< EVisibility > InVisibility |
Widgets/SLeafWidget.h |