FEditorModeTools::ComputeBoundingBoxForViewportFocus

Allows editor modes to override the bounding box used to focus the viewport on a selection

Windows
MacOS
Linux

References

Module

UnrealEd

Header

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

Include

#include "EditorModeManager.h"

Source

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

Syntax

bool ComputeBoundingBoxForViewportFocus
(
    AActor * Actor,
    UPrimitiveComponent * PrimitiveComponent,
    FBox & InOutBox
)

Remarks

Allows editor modes to override the bounding box used to focus the viewport on a selection

Returns

bool true if a mode overrides the box and populated InOutBox, false if it did not populate InOutBox

Parameters

Parameter

Description

Actor

The selected actor that is being considered for focus

PrimitiveComponent

The component in the actor being considered for focus

InOutBox

The box that should be computed for the actor and component

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