XMVectorSplatZ

Replicates the z component of a vector to all of the components.

Syntax

XMVECTOR XMVectorSplatZ(
         XMVECTOR V
)  

Parameters

V
Type: XMVECTOR 

Vector from which to select the z component.

Return value

Type: XMVECTOR 

Returns a vector, all of whose components are equal to the z component of V.

Requirements

Header: Declared in directxmath.h.