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 XMUSHORTN4 from a four element uint16_t
array argument.
This constructor initializes a new instance of XMUSHORTN4 from a four element uint16_t
array argument.
Syntax
void XMUSHORTN4(
const uint16_t *pArray
) noexcept;
Parameters
pArray
Four element uint16_t array containing the values used to initialize the four components of a new instance of XMUSHORTN4.
Return value
None
Remarks
Input values are not normalized. The following pseudocode demonstrates the operation of this constructor:
XMUSHORTN4 instance;
instance.x = pArray[0];
instance.y = pArray[1];
instance.z = pArray[2];
instance.w = pArray[3];
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | directxpackedvector.h |