Function directx_math::XMVectorGetZ[][src]

pub fn XMVectorGetZ(V: XMVECTOR) -> f32

Retrieve the z component of an XMVECTOR Data Type.

Parameters

V A valid 4D vector storing floating-point data

Return value

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

Reference

https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMVectorGetZ