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
The position in world space to frame.
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
The position in world space to frame.
The direction from which the Scene view should view the point.
The amount of camera zoom. Sets SceneView.size.