operator+ function (directxmath.h)

Performance an identity operation on an XMVECTOR instance.

The operator + takes an instance of XMVECTOR Data Type and returns a new instance of XMVECTOR, with an identity operator applied to each component.

Note  This operator is only available under C++.

Syntax

XMVECTOR XM_CALLCONV operator+(
  FXMVECTOR V
) noexcept;

Parameters

V

Vector whose components are to be acted on by an identify operation.

Return value

Vector whose components are the result of the identity operation performed on V.

Requirements

Requirement Value
Header directxmath.h

See also

XMVECTOR Data Type