XMVectorGetW

Retrieve the w component of an XMVECTOR Data Type.

Syntax

float XMVectorGetW(
         XMVECTOR V
)  

Parameters

V
Type: XMVECTOR 

A valid 4D floating-point vector

Return value

Type: float 

The value in the w component of the 4D floating point vector V

Requirements

Header: Declared in directxmath.h.