Clamp
Clamps the Vector3Int to the bounds given by min and max.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
Clamp(Vector3Int, Vector3Int)
Clamps the to the bounds given by and .
Vector3Intminmaxpublic void Clamp(Vector3Int min, Vector3Int max)
Parameters
Clamp(Vector3Int, Vector3Int)
Clamps the to the bounds given by and .
Vector3Intminmaxpublic void Clamp(in Vector3Int min, in Vector3Int max)