XMVectorGetZPtr

Retrieve the z 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.

Syntax

void XMVectorGetZPtr(
         float *z,
         XMVECTOR V
)  

Parameters

z
Type: float *

[out]

Pointer to a float that will receive the value of the z element of the XMVECTOR Data Type object V.

V
Type: XMVECTOR 

[in]

A valid 4D vector storing floating-point data.

Return value

None.

Requirements

Header: Declared in directxmath.h.