TVector2::operator-

Gets the result of subtracting A from each component of the vector.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Vector2D.h

Include

#include "Math/Vector2D.h"

Syntax

TVector2< T > operator-
(
    T A
) const

Remarks

Gets the result of subtracting A from each component of the vector.

Returns

The result of subtracting A from each component.

Parameters

Parameter

Description

A

T to subtract from each component