FEditorViewportClient::FocusViewportOnBox

Focuses the viewport to the center of the bounding box ensuring that the entire box is in view

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

void FocusViewportOnBox
(
    const FBox & BoundingBox,
    bool bInstant
)

Remarks

Focuses the viewport to the center of the bounding box ensuring that the entire box is in view

Parameters

Parameter

Description

BoundingBox

The box to focus

bUpdateLinkedOrthoViewports

Whether or not to updated linked viewports when this viewport changes

bInstant

Whether or not to focus the viewport instantly or over time

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