Navigation
API > API/Runtime > API/Runtime/Navmesh > API/Runtime/Navmesh/Recast > API/Runtime/Navmesh/Recast/rcClamp
References
| Module | Navmesh |
| Header | /Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
| Include | #include "Recast/Recast.h" |
template<class T>
T rcClamp
(
T v,
T mn,
T mx
)
Remarks
Clamps the value to the specified range. The value, clamped to the specified range.
Parameters
| Name | Description |
|---|---|
| v | The value to clamp. |
| mn | The minimum permitted return value. |
| mx | The maximum permitted return value. |