By default, you look through and control the Scene Camera when you navigate through the Scene view. To look through and control a GameObject that has a camera component attached to it, use the Cameras overlay.
You can use the following navigation controls to move the Scene Camera or a GameObject that has a camera component attached to it around the Scene view:
The Scene Gizmo appears in the Scene view. This displays the Scene Camera’s current orientation, and allows you to change the viewing angle and projection mode.
The Scene Gizmo has a conical arm on each side of the cube. The arms at the forefront are labelled X, Y, and Z. Click on any of the conical axis arms to snap the Scene Camera to the axis it represents (for example: top view, left view, and front view). You can also right-click the cube to see a menu with a list of viewing angles. To return to the default viewing angle, right-click the Scene Gizmo and select Free.
また、透視投影 のオンとオフを切り替えることができます。これは、シーンビューの投影モードを 透視投影 と 平行投影 (“等角投影” と呼ばれることもあります) 間で変更します。これを行うには、シーンギズモの中央のキューブか、シーンギズモの下にある文字をクリックします。平行投影ビューは遠近法でなく、アームをクリックして正面、上方、側面の平面図を得るのに便利です。
シーンビューがちょっと変わった視点 (逆さま、または混乱を招く角度) である場合は、シーンギズモの中央のキューブを Shift しながらクリックし、 シーンを横の少し上からの角度で見た 等角投影 の眺めに戻すことができます。
シーンのギズモの右上にあるロックをクリックすると、シーンの回転を有効/無効にすることができます。いったんシーンの回転を無効にすると、右クリックでビューを回転させる替わりに、パンします。これは、ビューツール と同様です。
2D モード__ では、シーンギズモは表示されません。 2D モード__の唯一の表示オプションは、XY 平面を垂直に見ることです。
トラックパッドを搭載した Mac では、2 本の指でドラッグするとビューをズームできます。
また、3 本の指を使用することで シーンギズモ のアームをクリックする動作ができます。上下左右にドラッグしてシーンーカメラを対応する方向にスナップします。この機能を使用するには、MacOS トラックパッドジェスチャ設定で 3 本指のスワイプを有効にする必要があります。
移動、回転、ズームはシーンビューのナビゲーションにおいて重要な操作です。したがって Unity では最大限に使いやすくするために、これらの操作について複数の方法を用意しています。
方向キー を使用して、“歩き回る” ように、シーンの中を動く事ができます。上下の方向キーは、カメラ向きに沿って前方と後方に移動させます。左右の方向キーは横に向かってビューをパンします。Shift キーと方向キーを一緒に押すとより速く移動できます。
ビューツールを選択すると (ショートカット: Q)、以下のマウス操作ができます。
コントロール | 説明 |
---|---|
パン |
![]() クリックしてドラッグし、カメラをパンします。 |
周回 |
![]() Alt (Windows) または Option (macOS) を押したまま、左クリックしてドラッグし、現在のピボットポイントを中心にカメラを周回します。 ビューが平行投影であるため、このオプションは 2D モードでは使用できません。 |
ズーム |
![]() Alt (Windows) または Option (macOS) を押したまま、右クリックしてドラッグし、シーンビューをズームします。 macOS では、Control を押したまま左クリックしてドラッグすることもできます。 |
さらに Shift を押したままで行うと移動やズームが速くなります。
フライスルーモード を使用すると、多くのゲームでの移動方法と同様に、一人称視点で飛び回ってシーンビューを移動できます。
フライスルーモードは、 透視投影モード のために設計されています。 平行投影モード では、マウスの右ボタンを押しながらマウスを動かすと、ビューは代わりにカメラを周回します。
2D モードではフライスルーモードは使用できないことに注意してください。2D モードでは、マウスの右ボタンをクリックして押したままマウスを動かすと、シーンビューをパンします。
フライスルーモード に入り、フライスルーモード でシーンビューを操作するには、以下を行います。
The Scene Camera displays the Scene view in the Editor. By default, the Scene Camera is what you control and look through when you navigate through the Scene view. To learn how to control a GameObject that has a camera component attached, refer to Control a camera in first person.
シーンビューでカメラの移動速度を変更するには、ビューオプションの オーバーレイ でカメラアイコンを選択し、Camera Speed プロパティの値を希望の速度に調整します。
ノート: ビューオプションオーバーレイを見つけるには、` を押してオーバーレイメニューを開きます。オーバーレイメニューで、ビューオプション にカーソルを合わせると、シーンビューのオーバービューオーバーレイをハイライトします。
In Flythrough mode, use the scroll wheel on your mouse or drag two fingers on a trackpad to change the speed that the Scene Camera moves at through the Scene.
より効率良くするために、これらの制御はどのトランスフォームツールが選択されていても使用できます。一番便利な制御の仕方は、使用しているマウスまたトラックパッドに依存します。
アクション | 3 ボタンマウス | 2 ボタンマウスまたはトラックパッド | 1 ボタンマウスまたはトラックパッド |
---|---|---|---|
パン | 中央のマウスボタンを押しながら、ドラッグ | 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.