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 RemovePerspectiveViewRotation
&40;
bool Roll,
bool Pitch,
bool Yaw
&41;
Remarks
Remove the roll, pitch and/or yaw from the perspective viewports' cameras.
Parameters
Name | Description |
---|---|
Roll | If true, the camera roll is reset to zero. |
Pitch | If true, the camera pitch is reset to zero. |
Yaw | If true, the camera yaw is reset to zero. |