共用方式為


XMUSHORT4.operator = method

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

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

Note   This operator is only available under C++.

 

Syntax

XMUSHORT4&  operator = (
  [ref] const XMUSHORT4 &UShort4
);

Parameters

  • UShort4 [ref]
    Instance of XMUSHORT4 used to update the current XMUSHORT4 structure.

Return value

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

Requirements

Namespace

DirectX::PackedVector

Header

DirectXPackedVector.h

See also

XMUSHORT4 Operators

Reference

XMUSHORT4