Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorViewportClient
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h |
Include | #include "EditorViewportClient.h" |
Source | /Engine/Source/Editor/UnrealEd/Private/EditorViewportClient.cpp |
void FocusViewportOnBox
&40;
const FBox & BoundingBox,
bool bInstant
&41;
Remarks
Focuses the viewport to the center of the bounding box ensuring that the entire box is in view
Parameters
Name | Description |
---|---|
BoundingBox | The box to focus |
bInstant | Whether or not to focus the viewport instantly or over time |