기술 자료

Unity Engine

Unity Engine

Frame(Bounds, bool)

Frames the given bounds in the Scene view.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public bool Frame(Bounds bounds, bool instant = true)

Parameters

bounds

The bounds to frame in the Scene view.

instant

Set to true to immediately frame the camera. Set to false to animate the action.

Returns

Type

Description

boolReturns true if the given bounds can be encompassed in the Scene view. Returns false otherwise.