XMSHORTN2::operator= function (directxpackedvector.h)

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

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

Note  This operator is only available for C++ based development.

Syntax

XMSHORTN2 & operator=(
  const XMSHORTN2 & unnamedParam1
);

Parameters

unnamedParam1

Instance of XMSHORTN2 used to update the current XMSHORTN2 structure.

Return value

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

Requirements

Requirement Value
Target Platform Windows
Header directxpackedvector.h

See also

XMSHORTN2

XMSHORTN2 Operators