Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/VectorShuffle
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathNeon.h |
| Include | #include "Math/UnrealMathNeon.h" |
VectorRegister4Float VectorShuffle
(
VectorRegister4Float V1,
VectorRegister4Float V2,
uint32 PermuteX,
uint32 PermuteY,
uint32 PermuteZ,
uint32 PermuteW
)
Remarks
Creates a vector through selecting two components from each vector via a shuffle mask. The swizzled vector
Parameters
| Name | Description |
|---|---|
| Vec1 | Source vector1 |
| Vec2 | Source vector2 |
| X | Index for which component of Vector1 to use for X (literal 0-3) |
| Y | Index for which component of Vector1 to use for Y (literal 0-3) |
| Z | Index for which component of Vector2 to use for Z (literal 0-3) |
| W | Index for which component of Vector2 to use for W (literal 0-3) |