UTypedElementViewportInteraction::GetFocusBounds

Calculate the bounds of all elements in the list, to be focused on in the viewport

Unreal Engine C++ API Reference > Editor > EditorFramework > Elements > Framework > UTypedElementViewportInteraction

References

   
Module EditorFramework
Header /Engine/Source/Editor/EditorFramework/Public/Elements/Framework/TypedElementViewportInteraction.h
Include #include "Elements/Framework/TypedElementViewportInteraction.h"
Source /Engine/Source/Editor/EditorFramework/Private/Elements/Framework/TypedElementViewportInteraction.cpp
bool GetFocusBounds
(
    FTypedElementListConstRef InElements,
    FBoxSphereBounds & OutBox
)

Remarks

Calculate the bounds of all elements in the list, to be focused on in the viewport

This list should have been pre-normalized via UTypedElementSelectionSet::GetNormalizedSelection or UTypedElementSelectionSet::GetNormalizedElementList, or FLevelEditorViewportClient::GetElementsToManipulate.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library