This version of Unity is unsupported.

SceneView.AlignViewToObject

Declaration

public void AlignViewToObject(Transform t);

Parameters

t The transform to frame in the Scene view.

Description

Moves the Scene view to frame a transform.

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