ドキュメント

Unity Engine

Unity Engine

AlignViewToObject(Transform)

Moves the Scene view to frame a transform.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public void AlignViewToObject(Transform t)

Parameters

The transform to frame in the Scene view.

Remarks

This sets the scene pivot, rotation, and SceneView.size to look at a transform.