기술 자료

Unity Engine

Unity Engine

AlignViewToObject(Transform)

Moves the Scene view to frame a transform.
읽는 시간 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.