Retrieve the x component of an XMVECTOR Data Type containing floating-point data, and storing that component’s value in an instance of float referred to by a pointer.
void XMVectorGetXPtr(
float *x,
XMVECTOR V
)
x
Type: float *
[out]
Pointer to a float that will receive the value of the x element of the XMVECTOR Data Type object V.
V
Type: XMVECTOR
[in]
A valid 4D vector storing floating-point data.
Header: Declared in directxmath.h.