Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.