Navigation
API > API/Runtime > API/Runtime/Navmesh
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T dtClamp
(
T v, |
Clamps the value to the specified range. | Detour/DetourCommon.h | |
dtReal dtClamp
(
dtReal v, |
Detour/DetourCommon.h |
dtClamp(T, T, T)
Description
Clamps the value to the specified range.
| Name | dtClamp |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourCommon.h |
| Include Path | #include "Detour/DetourCommon.h" |
template<class T>
T dtClamp
(
T v,
T mn,
T mx
)
The value, clamped to the specified range.
Parameters
| Name | Remarks |
|---|---|
| v | The value to clamp. |
| mn | The minimum permitted return value. |
| mx | The maximum permitted return value. |
dtClamp(dtReal, dtReal, dtReal)
| Name | dtClamp |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourCommon.h |
| Include Path | #include "Detour/DetourCommon.h" |
dtReal dtClamp
(
dtReal v,
dtReal mn,
dtReal mx
)