Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TVector4
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T & operator[]
(
int32 ComponentIndex |
Access a specific component of the vector. | Math/Vector4.h | |
T operator[]
(
int32 ComponentIndex |
Access a specific component of the vector. | Math/Vector4.h |
operatorint32
Description
Access a specific component of the vector.
| Name | operator[] |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Vector4.h |
| Include Path | #include "Math/Vector4.h" |
T & operator[]
(
int32 ComponentIndex
)
Reference to the desired component.
Parameters
| Name | Remarks |
|---|---|
| ComponentIndex | The index of the component. |
operatorint32
Description
Access a specific component of the vector.
| Name | operator[] |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Vector4.h |
| Include Path | #include "Math/Vector4.h" |
T operator[]
(
int32 ComponentIndex
) const
Copy of the desired component.
Parameters
| Name | Remarks |
|---|---|
| ComponentIndex | The index of the component. |