Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/VectorGetComponentImpl
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathFPU.h |
| Include | #include "Math/UnrealMathFPU.h" |
template<uint32 ComponentIndex>
float VectorGetComponentImpl
(
const VectorRegister4Float & Vec
)
Remarks
Returns an component from a vector. The component as a float
Parameters
| Name | Description |
|---|---|
| Vec | Vector register |
| ComponentIndex | Which component to get, X=0, Y=1, Z=2, W=3 |