UGameViewportClient::CalculateSafeZoneValues

Calculate the amount of safezone needed for a single side for both vertical and horizontal dimensions

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/GameViewportClient.h

Include

#include "Engine/GameViewportClient.h"

Source

/Engine/Source/Runtime/Engine/Private/GameViewportClient.cpp

Syntax

void CalculateSafeZoneValues
(
    FMargin & SafeZone,
    UCanvas * Canvas,
    int32 LocalPlayerIndex,
    bool bUseMaxPercent
)

Remarks

Calculate the amount of safezone needed for a single side for both vertical and horizontal dimensions

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss