XMUSHORTN4::XMUSHORTN4(uint16_t,uint16_t,uint16_t,uint16_t) function (directxpackedvector.h)
Initializes a new instance of XMUSHORTN4 from four uint16_t arguments.
This constructor initializes a new instance of XMUSHORTN4 from four
uint16_t arguments.
Note This constructor is only available under C++.
Syntax
void XMUSHORTN4(
uint16_t _x,
uint16_t _y,
uint16_t _z,
uint16_t _w
) noexcept;
Parameters
_x
Value of the x-coordinate of the vector, the x member of the new
XMUSHORTN4 instance.
_y
Value of the y-coordinate of the vector, the y member of the new
XMUSHORTN4 instance.
_z
Value of the z-coordinate of the vector, the z member of the new
XMUSHORTN4 instance.
_w
Value of the w-coordinate of the vector, the w member of the new
XMUSHORTN4 instance.
Return value
None
Remarks
Input values are not normalized. The following pseudocode demonstrates the operation of this constructor:
XMUSHORTN4 instance;
instance.x = _x;
instance.y = _y;
instance.z = _z;
instance.w = _w;
Requirements
| Target Platform | Windows |
| Header | directxpackedvector.h |
See also
Reference