UGameViewportClient::CalculateDeadZoneForAllSides

Pixel size of the deadzone for all sides (right/left/top/bottom) based on which local player it is

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

bool CalculateDeadZoneForAllSides
(
    ULocalPlayer * LPlayer,
    UCanvas * Canvas,
    float & fTopSafeZone,
    float & fBottomSafeZone,
    float & fLeftSafeZone,
    float & fRightSafeZone,
    bool bUseMaxPercent
)

Remarks

Pixel size of the deadzone for all sides (right/left/top/bottom) based on which local player it is

Returns

true if the safe zone exists

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