Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TVector2
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Gets the result of subtracting a vector from this one. | Math/Vector2D.h | ||
| Gets the result of subtracting A from each component of the vector. | Math/Vector2D.h |
operator-(const TVector2< T > &)
Description
Gets the result of subtracting a vector from this one.
| Name | operator- |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Vector2D.h |
| Include Path | #include "Math/Vector2D.h" |
TVector2 < T > operator-
(
const TVector2 < T > & V
) const
The result of the subtraction.
Parameters
| Name | Remarks |
|---|---|
| V | The other vector to subtract from this. |
operator-(T)
Description
Gets the result of subtracting A from each component of the vector.
| Name | operator- |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Vector2D.h |
| Include Path | #include "Math/Vector2D.h" |
TVector2 < T > operator-
(
T A
) const
The result of subtracting A from each component.
Parameters
| Name | Remarks |
|---|---|
| A | T to subtract from each component |