Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TVector
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Gets the result of component-wise addition of this and another vector. | Math/Vector.h | ||
| Gets the result of adding to each component of the vector. | Math/Vector.h |
operator+(const TVector< T > &)
Description
Gets the result of component-wise addition of this and another vector.
| Name | operator+ |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Vector.h |
| Include Path | #include "Math/Vector.h" |
TVector < T > operator+
(
const TVector < T > & V
) const
The result of vector addition.
Parameters
| Name | Remarks |
|---|---|
| V | The vector to add to this. |
operator+(FArg)
Description
Gets the result of adding to each component of the vector.
| Name | operator+ |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Vector.h |
| Include Path | #include "Math/Vector.h" |
template<typename FArg, std::enable_if_t<(std::is_arithmetic_v< FArg >), int >>
TVector < T > operator+
(
FArg Bias
) const
The result of addition.
Parameters
| Name | Remarks |
|---|---|
| Bias | How much to add to each component. |