Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/VectorSwizzle
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathNeon.h |
| Include | #include "Math/UnrealMathNeon.h" |
VectorRegister4Float VectorSwizzle
(
VectorRegister4Float V,
uint32 E0,
uint32 E1,
uint32 E2,
uint32 E3
)
Remarks
Swizzles the 4 components of a vector and returns the result. The swizzled vector
Parameters
| Name | Description |
|---|---|
| Vec | Source vector |
| X | Index for which component to use for X (literal 0-3) |
| Y | Index for which component to use for Y (literal 0-3) |
| Z | Index for which component to use for Z (literal 0-3) |
| W | Index for which component to use for W (literal 0-3) |