Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > Editor > UEditorEngine
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
Include | #include "Editor/EditorEngine.h" |
Source | /Engine/Source/Editor/UnrealEd/Private/EditorServer.cpp |
void MoveViewportCamerasToComponent
&40;
const USceneComponent &42; Component,
bool bActiveViewportOnly
&41;
Remarks
Moves all viewport cameras to focus on the provided component.
Parameters
Name | Description |
---|---|
Component | Target component |
bActiveViewportOnly | If true, move/reorient only the active viewport. |