UWidgetBlueprintLibrary::GetSafeZonePadding

Gets the amount of padding that needs to be added when accounting for the safe zone on TVs.

Choose your operating system:

Windows

macOS

Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetBlueprintLibrary.h

Include

#include "Blueprint/WidgetBlueprintLibrary.h"

Source

/Engine/Source/Runtime/UMG/Private/WidgetBlueprintLibrary.cpp

Syntax

static void GetSafeZonePadding
(
    UObject * WorldContextObject,
    FVector4 & SafePadding,
    FVector2D & SafePaddingScale,
    FVector4 & SpillOverPadding
)

Remarks

Gets the amount of padding that needs to be added when accounting for the safe zone on TVs.