XMHALF4::XMHALF4(HALF,HALF,HALF,HALF) function (directxpackedvector.h)

Initializes a new instance of XMHALF4 from four HALF arguments.

This constructor initializes a new instance of XMHALF4 from four HALF arguments.

Note  This constructor is only available under C++.
 

Syntax

void XMHALF4(
  HALF _x,
  HALF _y,
  HALF _z,
  HALF _w
) noexcept;

Parameters

_x

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

_y

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

_z

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

_w

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

Return value

None

Remarks

The following pseudocode demonstrates the operation of this constructor:


	XMHALF4 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

XMHALF4

XMHALF4 Constructors