XMUBYTEN4::XMUBYTEN4(uint8_t,uint8_t,uint8_t,uint8_t) function (directxpackedvector.h)

Initializes a new instance of XMUBYTEN4 from four uint8_t arguments.

This constructor initializes a new instance of XMUBYTEN4 from a four uint8_t arguments.

Note  This constructor is only available under C++.
 

Syntax

void XMUBYTEN4(
  uint8_t _x,
  uint8_t _y,
  uint8_t _z,
  uint8_t _w
) noexcept;

Parameters

_x

Value of the x-coordinate of the vector, the x member of the new XMUBYTEN4 instance.

_y

Value of the y-coordinate of the vector, the y member of the new XMUBYTEN4 instance.

_z

Value of the z-coordinate of the vector, the z member of the new XMUBYTEN4 instance.

_w

Value of the w-coordinate of the vector, the w member of the new XMUBYTEN4 instance.

Return value

None

Remarks

Input values are not normalized. The following pseudocode demonstrates the operation of this constructor:


	    XMUBYTEN4 instance;

	    instance.x = _x; 
	    instance.y = _y; 
	    instance.z = _z; 
	    instance.w = _w;

	

Requirements

Requirement Value
Target Platform Windows
Header directxpackedvector.h

See also

Reference

XMUBYTEN4

XMUBYTEN4 Constructors