AlignViewToObject(Transform)
Moves the Scene view to frame a transform.
Read time 1 minuteLast updated 5 days ago
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.