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 CenterViewportAtPoint
&40;
const FVector & NewLookAt,
bool bInstant
&41;
Remarks
Translates the viewport so that the given LookAt point is at the center of viewport, while maintaining current Location/LookAt distance
Parameters
| Name | Description |
|---|---|
| NewLookAt | The new NewLookAt point to focus on |
| bInstant | Whether or not to focus the viewport instantly or over time |