XMVectorGetZ

Retrieve the z component of an XMVECTOR Data Type.

Syntax

float XMVectorGetZ(
         XMVECTOR V
)  

Parameters

V
Type: XMVECTOR 

A valid 4D vector storing floating-point data

Return value

Type: float 

The value in the z component of the 4D vector storing floating-point data V.

Requirements

Header: Declared in directxmath.h.