Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Layout
Inheritance Hierarchy
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SSafeZone.h |
| Include | #include "Widgets/Layout/SSafeZone.h" |
Syntax
class SSafeZone : public SBox
Remarks
Here's how you could make use of TitleSafe and ActionSafe areas: SNew(SOverlay) +SOverlay::Slot() [ / ActioSafe SNew(SSafeZone) .IsTitleSafe( false ) ] +SOverlay::Slot() [ / TitleSafe SNew(SSafeZone) .IsTitleSafe( true ) ]
Constructors
| Type | Name | Description | |
|---|---|---|---|
SSafeZone () |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~SSafeZone () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
||
| void | DebugSafeAreaUpdated
(
const FMargin& NewSafeZone, |
||
| TOptional< float > | |||
| FMargin | GetSafeMargin
(
float InLayoutScale |
||
| void | SetGlobalSafeZoneScale
(
TOptional< float > InScale |
||
| void | SetOverrideScreenInformation
(
TOptional< FVector2D > InScreenSize, |
||
| void | SetSafeAreaScale
(
FMargin InSafeAreaScale |
||
| void | SetSidesToPad
(
bool InPadLeft, |
||
| void | SetTitleSafe
(
bool bIsTitleSafe |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | ComputeDesiredSize
(
float |
A Panel's desired size in the space required to arrange of its children on the screen while respecting all of the children's desired sizes and any layout-related options specified by the user. | |
| void | OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
Panels arrange their children in a space described by the AllottedGeometry parameter. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |