ドキュメント

Unity Engine

Unity Engine

FrameSelected

Frame the object selection in the Scene view.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

FrameSelected()

Frame the object selection in the Scene view.
public bool FrameSelected()

Returns

Type

Description

boolReturns 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

lockView

Whether the view should be locked to the selection.

Returns

Type

Description

boolReturns 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

lockView

Whether the view should be locked to the selection.

instant

Returns

Type

Description

boolReturns true if the current selection fits in the Scene view. Returns false otherwise.