Navigation
API > API/Runtime > API/Runtime/UMG
| Name | USafeZoneSlot |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/SafeZoneSlot.h |
| Include Path | #include "Components/SafeZoneSlot.h" |
Syntax
UCLASS (MinimalAPI)
class USafeZoneSlot : public UPanelSlot
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UPanelSlot → USafeZoneSlot
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
USafeZoneSlot() |
Components/SafeZoneSlot.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsTitleSafe | bool | Components/SafeZoneSlot.h |
|
|
| HAlign | TEnumAsByte< EHorizontalAlignment > | Components/SafeZoneSlot.h |
|
|
| Padding | FMargin | Components/SafeZoneSlot.h |
|
|
| SafeAreaScale | FMargin | Components/SafeZoneSlot.h |
|
|
| VAlign | TEnumAsByte< EVerticalAlignment > | Components/SafeZoneSlot.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SafeZone | TWeakPtr< SSafeZone > | A pointer to the button to allow us to adjust the alignment, padding...etc at runtime. | Components/SafeZoneSlot.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildSlot
(
TSharedRef< SSafeZone > InSafeZone |
Builds the underlying slot for the slate button. | Components/SafeZoneSlot.h | |
const EHorizontalAlignment GetHorizontalAlignment() |
Components/SafeZoneSlot.h | ||
const FMargin & GetPadding() |
Components/SafeZoneSlot.h | ||
const FMargin & GetSafeAreaScale() |
Components/SafeZoneSlot.h | ||
const EVerticalAlignment GetVerticalAlignment() |
Components/SafeZoneSlot.h | ||
bool IsTitleSafe() |
Components/SafeZoneSlot.h | ||
void SetHorizontalAlignment
(
EHorizontalAlignment InHAlign |
Components/SafeZoneSlot.h | ||
void SetIsTitleSafe
(
bool InIsTitleSafe |
Components/SafeZoneSlot.h | ||
void SetPadding
(
const FMargin& InPadding |
Components/SafeZoneSlot.h | ||
void SetSafeAreaScale
(
const FMargin& InSafeAreaScale |
Components/SafeZoneSlot.h | ||
void SetVerticalAlignment
(
EVerticalAlignment InVAlign |
Components/SafeZoneSlot.h |
Overridden from UPanelSlot
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SynchronizeProperties() |
Applies all properties to the live slot if possible. | Components/SafeZoneSlot.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
Components/SafeZoneSlot.h |