Unity3D说明文档翻译-Scene View Navigation

来源:互联网 发布:淘宝充值中心 编辑:程序博客网 时间:2024/05/22 06:36

Scene View Navigation

场景视图导航

The Scene View has a set of navigation controls to help you move around quickly and efficiently.

场景视图有一系列导航控制器来帮助你快速而有效的在场景内移动.

Arrow Movement

方向移动

You can use the Arrow Keys to move around the scene as though “walking” through it. The up and down arrows move the camera forward and backward in the direction it is facing. The left and right arrows pan the view sideways. Hold down the Shift key with an arrow to move faster.

你可以使用方向键像走一样在场景内移动.上下键使摄像机按它面对的方向向前向后移动.左右键使视野像两侧平移.按住Shift键和方向键可使移动更快.

Focusing

聚焦

If you select a GameObject in the hierarchy, then move the mouse over the scene view and press F, the view will move so as to center on the object. This feature is referred to as ‘Frame Selected’ under the ‘Edit’ menu. However if you would like to lock the view to the object even when the object is moving then press Shift+F, this feature is referred to as ‘Lock View to Selected’ under the ‘Edit’ menu.

如果你在层级窗口选定了一个游戏物体,然后移动鼠标到场景视图并按F键,视图中心将移动到此物体上.这一特性在编辑菜单下被称为视窗选定.然而如果你想锁定视图到此物体上即使这个物体是移动的,则按Shift+F,这个特性在编辑菜单上被称为锁定视图选择.

Move, Orbit and Zoom

移动,旋转和缩放

Moving, orbiting and zooming are key operations in Scene View navigation, so Unity provides several alternative ways to perform them for maximum convenience.

移动,旋转和缩放是场景视图导航的关键操作,所以Unity提供了一系列方法来更方便的实现它们.

Using the Hand Tool

使用手型工具

When the hand tool is selected (shortcut: Q), the following mouse controls are available:

当选定了手型工具(快捷键Q),下列鼠标控制方式可用:

 Move: Click-drag to drag the camera around.

移动:点击-拖拽以拖拽摄像头移动

 Orbit: Hold Alt and click-drag to orbit the camera around the current pivot point. This option is not available in 2D mode as the view is orthographic.

旋转:按住Alt键并点击-拖拽来使摄像头按它当前轴心点旋转.此选项在2D模式下不可用,因为它的视图是正交的.

 Zoom: Hold Alt and right click-drag to zoom the Scene View. On Mac you can also hold Control and click-drag instead.

缩放:按住Alt键和右键点击-拖拽以缩放场景视图.在苹果系统则按Control键和点击-拖拽.

Holding down Shift will increase the rate of movement and zooming.

按住shift键将加快移动和缩放的速度.

Shortcuts Without Using the Hand Tool

快捷键不使用手型工具

For extra efficiency, all of these controls can also be used regardless of which transform tool is selected. The most convenient controls depend on which mouse or track-pad you are using:

为了额外的效率,所有这些控制器都可以使用无论哪个变换工具被选中.无论你使用鼠标还是触摸板都是最方便的控制器:

Action

活动

3-button mouse

3按键鼠标

2-button mouse or track-pad

2按键鼠标或触摸板

Mac with only one mouse button or track-pad

苹果系统的单键鼠标或触摸板

Move

移动

Hold Alt and middle click-drag.

按住Alt和中键拖拽

Hold Alt-Controland click-drag.

按住Alt-control拖拽

Hold Alt-Command and click-drag.

按住alt-command并拖拽

*Orbit

旋转

Hold Alt and click-drag.

按住alt拖拽

Hold Alt and click-drag.

按住alt拖拽

Hold Alt and click-drag.

按住alt拖拽

Zoom

缩放

Hold Alt and right click-drag or use scroll-wheel.

按住alt和右键拖拽或用滚轮

Hold Alt and right click-drag.

按住alt和右键拖拽

Hold Alt-Control and click-drag or use two-finger swipe.

按住alt-Control并拖拽或两指滑动

* Not available in 2D mode.

不适用于2D模式

Flythrough Mode

漫游模式

The Flythrough mode lets you navigate the Scene View by flying around in first person similar to how you would navigate in many games.

漫游模式让你像在许多游戏中一样一个人在场景视图内四处游览.

· Click and hold the right mouse button.

· 点击并按住鼠标右键.

· Now you can move the view around using the mouse and use the WASD keys to move left/right forward/backward and the Q and E keys to move up and down.

· 现在你可以使用鼠标和WASD键来前后左右移动,Q和E键上下移动.

· Holding down Shift will make you move faster.

· 按住shift将使你移动更快.

Flythrough mode is designed for Perspective Mode. In Isometric Mode, holding down the right mouse button and moving the mouse will orbit the camera instead.

漫游模式被设计为视觉模式.在等距模式,按住鼠标右键将旋转摄像机.

Note that in 2D mode, flythrough mode is not available. Holding the right mouse button down while moving the mouse allows you to pan around the scene view.

2D模式下注意,漫游模式不可用.按住鼠标右键移动将使你在场景视图平移.

Scene Gizmo

场景小图示

In the upper-right corner of the Scene View is the Scene Gizmo. This displays the Scene View Camera’s current orientation, and allows you to quickly modify the viewing angle.

在场景视图右上角的是场景小图示.它将显示当前摄像机方向,并允许你快速修改视角.

You can click on any of the arms to snap the Scene View Camera to that direction. Click the middle of the Scene Gizmo, or the text below it, to toggle between Isometric Mode and Perspective Mode. You can also always shift-click the middle of the Scene Gizmo to get a “nice” perspective view with an angle that is looking at the scene from the side and slightly from above.

你可以点击任何一个臂使场景摄像机朝向那个方向.点击场景小图示中间,或它下面的文字,可在等距模式和视角模式间切换.你还可以按住shift再点击场景小图示中间,获得一个很好的从上往下稍微倾斜的视角视图.

Note that in 2D mode, the scene gizmo will not be displayed since the only option is to have the view looking perpendicularly at the XY plane.

注意在2D模式下,场景小图示将不会显示,唯一的选择是看到垂直的XY平面.

Mac Trackpad Gestures

苹果系统触摸板手势

On a Mac with a trackpad, you can drag with two fingers to zoom the view.

在有触摸板的苹果系统,你可以通过双指拖拽来缩放视图.

You can also use three fingers to simulate the effect of clicking the arms of the Scene Gizmo: drag up, left, right or down to snap the Scene View Camera to the corresponding direction. In OS X 10.7 “Lion” you may have to change your trackpad settings in order to enable this feature:

你可以用三根手指来模拟点击场景小图示的效果:向下向上向左向右拖拽使场景摄像机朝向相应方向.在OS10.7Lion系统上你需要更改你的触摸板设置来启用这个特性.

· Open System Preferences and then Trackpad (or type trackpad into Spotlight).

· Click into the “More Gestures” option.

· Click the first option labelled “Swipe between pages” and then either set it to “Swipe left or right with three fingers” or “Swipe with two or three fingers”.

 

打开系统首选项然后触摸板(或者在”Spotlight”中键入”触摸板”)

点击进入”更多手势”选项

点击第一标签”在页面间滑动”然后选择设置它为”用三个手指左右滑动”或”用两个或三个手指滑动”

0 0
原创粉丝点击