ドキュメント

Unity Engine

Unity Engine

ClampToBounds(RectInt)

Clamps the position and size of the RectInt to the given bounds.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Parameters

bounds

Bounds to clamp the RectInt.