SceneView.AlignViewToObject

public void AlignViewToObject(Transform t);

Parameters

tThe 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.

Did you find this page useful? Please give it a rating: