FEditorViewportClient::CalculateEditorConstrainedViewRect

Helper function to calculate the safe frame rectangle on the current viewport

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h

Include

#include "EditorViewportClient.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorViewportClient.cpp

Syntax

bool CalculateEditorConstrainedViewRect
(
    FSlateRect & OutSafeFrameRect,
    FViewport * InViewport,
    const float DPIScale
)

Remarks

Helper function to calculate the safe frame rectangle on the current viewport

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