VectorGetComponent

Returns a component from a vector.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/UnrealMathNeon.h

Include

#include "Math/UnrealMathNeon.h"

Syntax

float VectorGetComponent
(
    VectorRegister Vec,
    int ElementIndex
)

Remarks

Returns a component from a vector.

Returns

The component as a float

Parameters

Parameter

Description

Vec

Vector register

ComponentIndex

Which component to get, X=0, Y=1, Z=2, W=3

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss