Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LookAtDirect

SceneView.LookAt without animating the scene movement.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

LookAtDirect(Vector3, Quaternion)

SceneView.LookAt without animating the scene movement.
public void LookAtDirect(Vector3 point, Quaternion direction)

Parameters

point

The position in world space to frame.

direction

The direction from which the Scene view should view the point.

LookAtDirect(Vector3, Quaternion, float)

SceneView.LookAt without animating the scene movement.
public void LookAtDirect(Vector3 point, Quaternion direction, float newSize)

Parameters

point

The position in world space to frame.

direction

The direction from which the Scene view should view the point.

newSize

The amount of camera zoom. Sets SceneView.size.