Navigation
API > API/Runtime > API/Runtime/Slate
| Name | SSpacer |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SSpacer.h |
| Include Path | #include "Widgets/Layout/SSpacer.h" |
Syntax
class SSpacer : public SLeafWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SLeafWidget → SSpacer
- FSlateControlledConstruction → SWidget → SLeafWidget → SSpacer
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SSpacer() |
Widgets/Layout/SSpacer.h |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| PrivateParentType | SLeafWidget | Widgets/Layout/SSpacer.h | |
| PrivateThisType | SSpacer | Widgets/Layout/SSpacer.h | |
| Super | SLeafWidget | Widgets/Layout/SSpacer.h | |
| ThisClass | SSpacer | Widgets/Layout/SSpacer.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsSpacerSizeBound | bool | Widgets/Layout/SSpacer.h | ||
| SpacerSize | TSlateAttribute< FVector2D > | Widgets/Layout/SSpacer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
Construct this widget | Widgets/Layout/SSpacer.h | |
FVector2D GetSize() |
Widgets/Layout/SSpacer.h | ||
virtual int32 OnPaint
(
const FPaintArgs& Args, |
Widgets/Layout/SSpacer.h | ||
void SetSize
(
TAttribute< FVector2D > InSpacerSize |
Widgets/Layout/SSpacer.h |
Overridden from FSlateControlledConstruction
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FSlateWidgetClassData & GetWidgetClass() |
Widgets/Layout/SSpacer.h |
Protected
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector2D ComputeDesiredSize
(
float |
Widgets/Layout/SSpacer.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FSlateWidgetClassData & GetPrivateWidgetClass() |
Widgets/Layout/SSpacer.h | ||
static SLATE_API void PrivateRegisterAttributes
(
FSlateAttributeInitializer& |
Widgets/Layout/SSpacer.h | ||
static const FSlateWidgetClassData & StaticWidgetClass() |
Widgets/Layout/SSpacer.h |