Retrieve the x component of an XMVECTOR Data Type.
float XMVectorGetX(
XMVECTOR V
)
V
Type: XMVECTOR
A valid 4D vector storing floating-point data
Type: float
The value in the x component of the 4D vector storing floating-point data V
Header: Declared in directxmath.h.