Navigation
API > API/Runtime > API/Runtime/Navmesh
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T rcClamp
(
T v, |
Clamps the value to the specified range. | Recast/Recast.h | |
rcReal rcClamp
(
rcReal v, |
When used with a mixture of rcReal and other types (in practice floats and doubles mixed here) this overridden function will be preferred by the compiler. | Recast/Recast.h |
rcClamp(T, T, T)
Description
Clamps the value to the specified range.
| Name | rcClamp |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
| Include Path | #include "Recast/Recast.h" |
template<class T>
T rcClamp
(
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. |
rcClamp(rcReal, rcReal, rcReal)
Description
When used with a mixture of rcReal and other types (in practice floats and doubles mixed here) this overridden function will be preferred by the compiler.
| Name | rcClamp |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
| Include Path | #include "Recast/Recast.h" |
rcReal rcClamp
(
rcReal v,
rcReal mn,
rcReal mx
)