Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/VectorDot4
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathFPU.h |
| Include | #include "Math/UnrealMathFPU.h" |
VectorRegister4Float VectorDot4
(
const VectorRegister4Float & Vec1,
const VectorRegister4Float & Vec2
)
Remarks
Calculates the dot4 product of two vectors and returns a vector with the result in all 4 components. d = dot4(Vec1.xyzw, Vec2.xyzw), VectorRegister( d, d, d, d )
Parameters
| Name | Description |
|---|---|
| Vec1 | 1st vector |
| Vec2 | 2nd vector |