シーンビューには、効率的に操作するのに役立つ一揃いのナビゲーションコントロールがあります。
The Scene Gizmo appears in the Scene view. This displays the Scene view Camera’s current orientation, and allows you to modify the viewing angle and projection mode.
シーンギズモには、キューブの各側面に円錐を逆さにしたようなアームがあります。前方に突き出したアームには X、 Y、 Z とラベルがついています。アームのいずれかをクリックすると、アームが示す軸の方向 (Top (上から) ビュー、Left (左) ビュー、Front (正面) ビューなど) へシーンビューのカメラの方向を変えます。キューブを右クリックしてビュー方向のリストメニューを表示することもできます。デフォルトの視野角に戻すには、シーンギズモを右クリックし Free を選択します。
また、透視投影 のオンとオフを切り替えることができます。これは、シーンビューの投影モードを 透視投影 と 平行投影 (“等角投影” と呼ばれることもあります) 間で変更します。これを行うには、シーンギズモの中央のキューブか、シーンギズモの下にある文字をクリックします。平行投影ビューは遠近法でなく、アームをクリックして正面、上方、側面の平面図を得るのに便利です。
シーンビューがちょっと変わった視点 (逆さま、または混乱を招く角度) である場合は、シーンギズモの中央のキューブを Shift しながらクリックし、 シーンを横の少し上からの角度で見た 等角投影 の眺めに戻すことができます。
シーンのギズモの右上にあるロックをクリックすると、シーンの回転を有効/無効にすることができます。いったんシーンの回転を無効にすると、右クリックでビューを回転させる替わりに、パンします。これは、ビューツール と同様です。
2D モード__ では、シーンギズモは表示されません。 2D モード__の唯一の表示オプションは、XY 平面を垂直に見ることです。
トラックパッドを搭載した Mac では、2 本の指でドラッグするとビューをズームできます。
3本の指を使用して、 シーンギズモ のアームをクリックする効果を擬似することもできます。上下左右にドラッグして、シーンビューのカメラを対応する向きにスナップします。
移動、回転、ズームはシーンビューのナビゲーションにおいて重要な操作です。したがって Unity では最大限に使いやすくするために、これらの操作について複数の方法を用意しています。
方向キー を使用して、“歩き回る” ように、シーンの中を動く事ができます。上下の方向キーは、カメラ向きに沿って前方と後方に移動させます。左右の方向キーは横に向かってビューをパンします。Shift キーと方向キーを一緒に押すとより速く移動できます。
ビューツールを選択すると (ショートカット: Q)、以下のマウス操作ができます。
コントロール | 説明 |
---|---|
移動 |
![]() Click and drag to move the Camera around. |
周回 |
![]() Alt (Windows) または Option (macOS) を押したまま、左クリックしてドラッグし、現在のピボットポイントを中心にカメラを周回します。 ビューが平行投影であるため、このオプションは 2D モードでは使用できません。 |
ズーム |
![]() Alt (Windows) または Option (macOS) を押したまま、右クリックしてドラッグし、シーンビューをズームします。 macOS では、Control を押したまま左クリックしてドラッグすることもできます。 |
さらに Shift を押したままで行うと移動やズームが速くなります。
Use the Flythrough mode to fly around the Scene view in first-person, similar to how you would navigate in many games:
フライスルーモードは、 透視投影モード のために設計されています。 平行投影モード では、マウスの右ボタンを押しながらマウスを動かすとカメラが周回します。
Note that Flythrough mode isn’t available in 2D mode. Instead, holding the right mouse button down while moving the mouse pans around the Scene view.
To change the current speed of the Camera in the Scene view, click the Camera icon in the toolbar. In Flythrough mode, you can change the Camera speed while you move around the Scene. To do this, use the mouse scroll wheel or drag two fingers on a trackpad.
詳細は、カメラ設定 のドキュメントを参照してください。
For extra efficiency, 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:
アクション | 3 ボタンマウス | 2 ボタンマウスまたはトラックパッド | 1 ボタンマウスまたはトラックパッド |
---|---|---|---|
移動 | Hold Alt+middle-click, then drag | Alt + Control + 左クリックしながら、ドラッグ | Alt + Command + 左クリックしながら、ドラッグします。 |
回転 (2D モードでは使用不可) | Alt + 左クリックしながらドラッグします。 | Alt + 左クリックしながらドラッグします。 | Option + 左クリックしながらドラッグします。 |
ズーム | スクロールホイールを使用するか、Alt + 右クリックしながらドラッグします。 | Alt + 右クリックして、ドラッグします。 | 2 本指スワイプで内側外側にスクロールするか、Option + Control + 左クリックをしながら、ドラッグします。 |
速度の変更 (フライスルーモードでのみ使用可能) | 移動中にスクロールホイールを使用します。 | 移動しながら 2 本の指でドラッグします。 | 移動しながら 2 本の指でドラッグします。 |
ゲームオブジェクトをシーンビューの中央に置くには、Hierarchy でゲームオブジェクトを選択し、シーンビューの上にマウスを移動させて F を押します。ゲームオブジェクトがすでに選択されている場合は、F を押すと、ピボットポイントにズームインします。この機能は、メニューバーの Edit > Frame Selected にもあります。
ゲームオブジェクトが動いているときにビューをゲームオブジェクトにロックするには、Shift + F を押します。この機能は、Edit > Lock View to Selected のメニューバーにもあります 。
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.