Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of XMSHORT2 from a two element int16_t array argument.
This constructor initializes a new instance of XMSHORT2 from a two element int16_t array argument.
Syntax
void XMSHORT2(
  const int16_t *pArray
) noexcept;
Parameters
pArray
Two element int16_t array containing the values used to initialize the two components of a new instance of XMSHORT2.
Return value
None
Remarks
The following pseudocode demonstrates the operation of this constructor:
XMSHORT2 instance;
instance.x = pArray[0];
instance.y = pArray[1];
Requirements
| Requirement | Value | 
|---|---|
| Target Platform | Windows | 
| Header | directxpackedvector.h |