Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TVector4
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Gets the result of subtracting a vector from this. | Math/Vector4.h | ||
| Gets the result of subtracting from each component of the vector. | Math/Vector4.h |
operator-(const TVector4< T > &)
Description
Gets the result of subtracting a vector from this.
| Name | operator- |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Vector4.h |
| Include Path | #include "Math/Vector4.h" |
TVector4 < T > operator-
(
const TVector4 < T > & V
) const
The result of vector subtraction.
Parameters
| Name | Remarks |
|---|---|
| V | The vector to subtract. |
operator-(FArg)
Description
Gets the result of subtracting from each component of the vector.
| Name | operator- |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Vector4.h |
| Include Path | #include "Math/Vector4.h" |
template<typename FArg, std::enable_if_t<(std::is_arithmetic_v< FArg >), int >>
TVector4 < T > operator-
(
FArg Bias
) const
The result of subtraction.
Parameters
| Name | Remarks |
|---|---|
| Bias | How much to subtract from each component. |