共用方式為


XMUBYTEN4.operator = method

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

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

Note  This operator is only available under C++.

 

Syntax

XMUBYTEN4&  operator = (
  [ref] const XMUBYTEN4 &UByteN4
);

Parameters

  • UByteN4 [ref]
    Instance of XMUBYTEN4 used to update the current XMUBYTEN4 structure.

Return value

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

Requirements

Namespace

DirectX::PackedVector

Header

DirectXPackedVector.h

See also

XMUBYTEN4 Operators

Reference

XMUBYTEN4