기술 자료

Unity Engine

Unity Engine

FrameSelected

Frame the object selection in the Scene view.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

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.