DreamGUI
Reference

UDreamLayoutContainerSafeZone

UMG Safe Zone

Inherits from UDreamPanelLayoutBase.

Declared in Public/Core/Components/DreamPanelLayouts.h.

UMG Safe Zone

Properties

NameTypeCategoryIn the details panelFrom BlueprintDescription
bUsePlatformSafeZoneboolSafeZoneyesSetUsePlatformSafeZone
bPadLeftboolSafeZoneyesSetPadLeft
bPadTopboolSafeZoneyesSetPadTop
bPadRightboolSafeZoneyesSetPadRight
bPadBottomboolSafeZoneyesSetPadBottom
SafePaddingFMarginSafeZoneyesSetSafePadding
NormalizedSafePaddingFMarginSafeZoneyesSetNormalizedSafePaddingPer-side fraction of this widget's size, useful for device profiles and previewing notches.
SafeAreaScaleFMarginSafeZoneyesSetSafeAreaScalePer-side multiplier over the padding the PLATFORM reports, matching SSafeZone's SafeAreaScale: one is the whole reported inset, zero ignores that side entirely. SafePadding is added on top of the scaled result and is not touched by it, as in Slate.

Functions

FunctionKindDescription
void SetNormalizedSafePadding(FMargin Value)callableSet Normalized Safe Padding
void SetPadBottom(bool Value)callableSet Pad Bottom
void SetPadLeft(bool Value)callableSet Pad Left
void SetPadRight(bool Value)callableSet Pad Right
void SetPadTop(bool Value)callableSet Pad Top
void SetSafeAreaScale(FMargin Value)callableSet Safe Area Scale
void SetSafePadding(FMargin Value)callableSet Safe Padding
void SetSidesToPad(bool bInPadLeft, bool bInPadRight, bool bInPadTop, bool bInPadBottom)callableUSafeZone::SetSidesToPad: the four side switches in one call, in UMG's argument order (left, right, top, bottom -- not the order an FMargin lists them in).
void SetUsePlatformSafeZone(bool Value)callableSet Use Platform Safe Zone

Compared with UMG

Every Blueprint-facing member of the UMG class, and where it went. adopt: same name, same meaning. map: here under another name or on another type. reject: deliberately absent, with the reason.

UMGMemberStatusHereNote
USafeZoneSetSidesToPadadoptSetSidesToPadUMG's argument order, left/right/top/bottom, not the order an FMargin lists them in.
USafeZonePadLeftmapbPadLeftSame name with this plugin's boolean prefix.
USafeZonePadRightmapbPadRight
USafeZonePadTopmapbPadTop
USafeZonePadBottommapbPadBottom

On this page