XMSHORT2::operator= function (directxpackedvector.h)

Assigns the vector component data from one instance of XMSHORT2 to the current instance of XMSHORT2.

This operator assigns the vector component data from one instance of XMSHORT2 to the current instance of XMSHORT2.

Note  This operator is only available under C++.

Syntax

XMSHORT2 & operator=(
  const XMSHORT2 & unnamedParam1
);

Parameters

unnamedParam1

Instance of XMSHORT2 used to update the current XMSHORT2 structure.

Return value

The current instance of XMSHORT2 whose vector component data has been updated to match those of the XMSHORT2 instance specified by the Short2 argument.

Requirements

Requirement Value
Target Platform Windows
Header directxpackedvector.h

See also

XMSHORT2

XMSHORT2 Operators