编辑器中控制视角最方便的快捷键:
按住鼠标右键不放,然后再按W、A、S、D、Q、E
转自官方文档:http://docs.unrealengine.com/latest/INT/Engine/UI/LevelEditor/Viewports/ViewportControls/index.html
For the purposes of this document, you should assume the following abbreviations:
Left Mouse Button | LMB |
Right Mouse Button | RMB |
Middle Mouse Button | MMB |
Standard
These controls represent the default behavior when clicking and dragging in the viewports with no other keys or buttons pressed. These are also the only controls that can be used to navigate the orthographic viewports.
Perspective |
|
LMB + Drag | Moves the camera forward and backward and rotates left and right. |
RMB + Drag | Rotates the viewport camera. |
LMB + RMB + Drag | Moves up and down. |
Orthographic (Top, Front, Side) |
|
LMB + Drag | Creates a marquee selection box. |
RMB + Drag | Pans the viewport camera. |
LMB + RMB + Drag | Zooms the viewport camera in and out. |
Focusing |
|
F | Focuses the camera on the selected object. This is essential to make the most out of tumbling the camera. |
Magic Mouse and Magic Trackpad
On a Mac, after enabling Secondary click in System Preference -> Mouse for the Magic Mouse, or enabling Secondary click with two fingers in System Preference -> Trackpad for the Magic Trackpad, the following controls are available.
Persepctive |
||
LMB + Drag | 1 Finger Click + Drag | Moves the camera forward and backward and rotates left and right. |
RMB + Drag | 2 Finger Click + Drag | Rotates the viewport camera. |
1 Finger Touch + Drag | 2 Finger Touch + Drag | Rotates the viewport camera. |
Orthographic (Top, Front, Side) |
||
LMB + Drag | 1 Finger Click + Drag | Creates a marquee selection box. |
RMB + Drag | 2 Finger Click + Drag | Pans the viewport camera. |
1 Finger Touch + Drag | 2 Finger Touch + Drag | Pans the viewport camera. |
Focusing |
||
F | F | Focuses the camera on the selected object. This is essential to make the most out of tumbling the camera. |
Game-style
The WASD controls will feel natural to those who are used to playing shooter games on the PC. They are enabled by default and can be used whenever you are holding RMB. This means you will still use RMB to turn the camera while navigating in this way.
These controls are mirrored on the arrow keys and num pad to provide alternate access to them.
All of these controls are only valid in a Perspective viewport, and by default you must hold RMB to use the WASD game-style controls.
W | Numpad8 | Up | Moves the camera forward. |
S | Numpad2 | Down | Moves the camera backward. |
A | Numpad4 | Left | Moves the camera left. |
D | Numpad6 | Right | Moves the camera right. |
E | Numpad9 | Page Up | Moves the camera up. |
Q | Numpad7 | Page Dn | Moves the camera down. |
Z | Numpad1 | Zooms the camera out (raises FOV). |
C | Numpad3 | Zooms the camera in (lowers FOV). |
When zooming the camera, holding the RMB will hold the FOV, preventing it from snapping back to its default settings. The FOV will remain until the RMB is released.
Pan, Orbit, and Zoom
Unreal Editor supports Maya-style pan, orbit, and zoom viewport controls, making it much easier for Maya artists to jump into the tool. If you are unfamiliar, here is a breakdown of the keys:
Alt + LMB + Drag | Tumbles the viewport around a single pivot or point of interest. |
Alt + RMB + Drag | Dollies (zooms) the camera toward and away from a single pivot or point of interest. |
Alt + MMB + Drag | Tracks the camera left, right, up, and down in the direction of mouse movement. |
The use of the F key is not limited to Maya-style controls. You can always press F to focus on a selected object or group of objects!
Selection Controls
You can select Actors in the viewport individually simply by clicking on them or in groups using a box selection in the 2D viewports:
Simple Selection |
|
LMB | Selects the Actor under the cursor, replacing the current selection. |
Ctrl + LMB | Adds the Actor under the cursor to the current selection. |
Box Selection (2D Viewports Only) |
|
LMB + Drag | Replaces the current selection with the Actors contained in the box. |
Shift + LMB + Drag | Adds the Actors contained in the box to the current selection. |
Ctrl + RMB + Drag | Removes any select Actors in the box from the current selection. |
Transform Controls
These controls relate to moving, rotating, and scaling Actors in the viewports using the transform tools:
You can see which tool is active in the viewport toolbar:
LMB + Drag (on Transform Tool) | Moves, rotates, or scales the currently selected Actors, depending on the active transform gizmo. |
W | Selects the Move Tool. |
E | Selects the Rotate Tool. |
R | Selects the Scale Tool. |
V | Toggles vertex snapping which allows you to snap to the vertices of other geometry in the world. |
MMB + Drag (on Pivot) | Moves the pivot of the selection temporarily to offset transformations. |
Move Tool Controls (Perspective Viewports Only) |
|
Ctrl + LMB + Drag | Moves the currently selected Actor(s) along the X axis. |
Ctrl + RMB + Drag | Moves the currently selected Actor(s) along the Y axis. |
Ctrl + LMB + RMB + Drag | Moves the currently selected Actor(s) along the Z axis. |
Move Tool Controls (Orthographic Viewports Only) |
|
Ctrl + LMB + Drag | Moves the currently selected Actor(s) along the plane defined by the two visible axes. |
Rotate Tool Controls (Perspective Viewports Only) |
|
Ctrl + LMB + Drag | Rotates the currently selected Actor(s) along the X axis. |
Ctrl + RMB + Drag | Rotates the currently selected Actor(s) along the Y axis. |
Ctrl + LMB + RMB + Drag | Rotates the currently selected Actor(s) along the Z axis. |
Scale Tool Controls |
|
Ctrl + LMB + Drag | Scales the currently selected Actor(s) uniformly along all axes. |
Move/Scale Tool Controls (Orthographic Viewports Only) |
|
Ctrl + RMB + Drag | Rotates the currently selected Actor(s) along the visible axis. |
Display Controls
These controls affect how the level is displayed in the viewport.
G | Toggles Game Mode, which causes the viewport to render only what would be seen in-game. |
Ctrl + R | Toggles real-time playback in the active viewport. |
F11 | Toggles immersive mode, which puts the viewport into full-screen. |
模型视图
材质视图