Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/TVector2
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/Vector2D.h |
| Include | #include "Math/Vector2D.h" |
static TVector2 < T > Clamp
(
const TVector2 < T > & V,
const TVector2 < T > & MinValue,
const TVector2 < T > & MaxValue
)
Remarks
Returns a vector with each component clamped between a minimum and a maximum. The clamped vector.
Parameters
| Name | Description |
|---|---|
| V | The vector to clamp. |
| MinValue | The minimum vector. |
| MaxValue | The maximum vector. |