기술 자료

Unity Engine

Unity Engine

ClampToBounds(RectInt)

Clamps the position and size of the RectInt to the given bounds.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public void ClampToBounds(RectInt bounds)

Parameters

bounds

Bounds to clamp the RectInt.