LookAtDirect
SceneView.LookAt without animating the scene movement.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
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.