XMHALF4::XMHALF4(constHALF*) function (directxpackedvector.h)
Initializes a new instance of XMHALF4 from a four element HALF
array argument.
This constructor initializes a new instance of XMHALF4 from a from a four element XMHALF4
array argument.
Note This constructor is only available under C++.
Syntax
void XMHALF4(
const HALF *pArray
) noexcept;
Parameters
pArray
Four element HALF array containing the values used to initialize the four components of a new instance of XMHALF4.
Return value
None
Remarks
The following pseudocode demonstrates the operation of this constructor:
XMHALF4 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 |