Freigeben über


operator +(XMVECTOR) method

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 operator +(
   XMVECTOR V
);

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

Namespace

Use DirectX.

Header

DirectXMath.h

See also

operator +

Reference

XMVECTOR Data Type