XMSHORT4::XMSHORT4(int16_t,int16_t,int16_t,int16_t) function (directxpackedvector.h)
Initializes a new instance of XMSHORT4
from four int16_t
arguments.
This constructor initializes a new instance of XMSHORT4 from four
int16_t
arguments.
Syntax
void XMSHORT4(
int16_t _x,
int16_t _y,
int16_t _z,
int16_t _w
) noexcept;
Parameters
_x
Value of the x-coordinate of the vector, the x member of the new
XMSHORT4
instance.
_y
Value of the y-coordinate of the vector, the y member of the new
XMSHORT4
instance.
_z
Value of the z-coordinate of the vector, the z member of the new
XMSHORT4
instance.
_w
Value of the w-coordinate of the vector, the w member of the new
XMSHORT4
instance.
Return value
None
Remarks
The following pseudocode demonstrates the operation of this constructor:
XMSHORT4 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for