Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/VectorMax
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathFPU.h |
| Include | #include "Math/UnrealMathFPU.h" |
VectorRegister4Float VectorMax
(
const VectorRegister4Float & Vec1,
const VectorRegister4Float & Vec2
)
Remarks
Returns the maximum values of two vectors (component-wise). VectorRegister( max(Vec1.x,Vec2.x), max(Vec1.y,Vec2.y), max(Vec1.z,Vec2.z), max(Vec1.w,Vec2.w) )
Parameters
| Name | Description |
|---|---|
| Vec1 | 1st vector |
| Vec2 | 2nd vector |