XMVectorZero 函数 (directxmath.h)

创建零向量。

语法

XMVECTOR XM_CALLCONV XMVectorZero() noexcept;

返回值

返回零向量。

备注

平台要求

带有 Windows SDK for Windows 8 的 Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012。 支持 Win32 桌面应用、Windows 应用商店应用和 Windows Phone 8 应用。

要求

   
目标平台 Windows
标头 directxmath.h (包括 DirectXMath.h)

另请参阅

矢量初始化函数