Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/VectorLoadTwoPairsFloat
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathFPU.h |
| Include | #include "Math/UnrealMathFPU.h" |
VectorRegister4Float VectorLoadTwoPairsFloat
(
const float * Ptr1,
const float * Ptr2
)
Remarks
Loads 4 unaligned floats - 2 from the first pointer, 2 from the second, and packs them in to 1 vector. VectorRegister(Ptr1[0], Ptr1[1], Ptr2[0], Ptr2[1])
Parameters
| Name | Description |
|---|---|
| Ptr1 | Unaligned memory pointer to the first 2 floats |
| Ptr2 | Unaligned memory pointer to the second 2 floats |