UGameViewportClient::CalculateSafeZoneValues

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

Choose your operating system:

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