Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TVector2
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T & operator[]
(
int32 Index |
Gets specific component of the vector. | Math/Vector2D.h | |
T operator[]
(
int32 Index |
Gets specific component of the vector. | Math/Vector2D.h |
operatorint32
Description
Gets specific component of the vector.
| Name | operator[] |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Vector2D.h |
| Include Path | #include "Math/Vector2D.h" |
T & operator[]
(
int32 Index
)
reference to component.
Parameters
| Name | Remarks |
|---|---|
| Index | the index of vector component |
operatorint32
Description
Gets specific component of the vector.
| Name | operator[] |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Vector2D.h |
| Include Path | #include "Math/Vector2D.h" |
T operator[]
(
int32 Index
) const
copy of component value.
Parameters
| Name | Remarks |
|---|---|
| Index | the index of vector component |