FrameSelected
Frame the object selection in the Scene view.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
FrameSelected()
Frame the object selection in the Scene view.
public bool FrameSelected()
Returns
Type | Description |
|---|---|
| bool | Returns true if the current selection fits in the Scene view. Returns false otherwise. |
FrameSelected(bool)
Frame the object selection in the Scene view.
public bool FrameSelected(bool lockView)
Parameters
Whether the view should be locked to the selection.
Returns
Type | Description |
|---|---|
| bool | Returns true if the current selection fits in the Scene view. Returns false otherwise. |
FrameSelected(bool, bool)
Frame the object selection in the Scene view.
public virtual bool FrameSelected(bool lockView, bool instant)
Parameters
Returns
Type | Description |
|---|---|
| bool | Returns true if the current selection fits in the Scene view. Returns false otherwise. |