ClampToBounds
Clamps the position and size of this bounding box to the given bounds.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
ClampToBounds(BoundsInt)
Clamps the position and size of this bounding box to the given bounds.
public void ClampToBounds(BoundsInt bounds)
Parameters
Bounds to clamp to.
ClampToBounds(BoundsInt)
Clamps the position and size of this bounding box to the given bounds.
public void ClampToBounds(in BoundsInt bounds)
Parameters
Bounds to clamp to.