MoveToView
Transforms all selected object to the scene SceneView.pivot.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
MoveToView()
Transforms all selected object to the scene SceneView.pivot.
public void MoveToView()
Remarks
If no argument is passed, each selected object is moved to the SceneView.pivot point, keeping their relative spacing.
MoveToView(Transform)
Transforms all selected object to the scene SceneView.pivot.
public void MoveToView(Transform target)
Parameters
A transform to place at the scene SceneView.pivot.
Remarks
If no argument is passed, each selected object is moved to the SceneView.pivot point, keeping their relative spacing.