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